push_type_wysiwyg 0.2.1 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/push_type/froala_overrides/file_upload.js +11 -2
- data/app/assets/javascripts/push_type/froala_overrides/froala_editor.js +50 -27
- data/app/assets/javascripts/push_type/froala_overrides/image_editor.js +23 -32
- data/app/assets/javascripts/push_type/froala_overrides/media_manager.js +42 -4
- data/app/assets/javascripts/push_type/wysiwyg.js.coffee +7 -2
- data/app/assets/stylesheets/push_type/froala_overrides.scss +4 -0
- data/app/assets/stylesheets/push_type/pt_theme.scss +3 -1
- data/test/dummy/app/controllers/application_controller.rb +0 -16
- data/test/dummy/app/models/page.rb +1 -3
- data/test/dummy/app/views/nodes/page.html.erb +1 -1
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20150209204402_create_push_type_users.push_type.rb → 20150222152513_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150209204403_create_push_type_nodes.push_type.rb → 20150222152514_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150209204404_create_push_type_node_hierarchies.push_type.rb → 20150222152515_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150209204405_create_push_type_assets.push_type.rb → 20150222152516_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/development.log +2964 -34212
- data/test/dummy/log/test.log +607 -607
- data/test/dummy/public/system/dragonfly/development/2015/02/22/1l58rmwrzh_unnamed.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/{17/6xzqa5lr5o_unnamed.png.meta.yml → 22/1l58rmwrzh_unnamed.jpg.meta.yml} +1 -1
- data/test/dummy/tmp/cache/assets/development/sass/2df752541ff0a319141a1cb83ca971d2ffd2d050/admin.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/b6b9d28ca2724256eca65bb09714d576b729c931/froala_overrides.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/b6b9d28ca2724256eca65bb09714d576b729c931/pt_theme.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{7d07558d12b9bd9b9dfa778344bab4ac → 00ba3b70f9c53c57d22cf0bee1c37172} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/04e7b5cc79c9b1c549820832eb88d319 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{2d1bc2b9dc5ee0ed5635abc31fb1bc88 → 092ab959c3e9331b83af5258e71da363} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/096eddf7a98fd625176db364d134da81 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0aa9b91b3ecfb11e422aa5d7764e96b9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0e01ae9de0f3914c8317853aedd9ace4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/106c19f564ec5217ee478cbab34720f1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{e568172da8ab8581f83f98dad0a73d29 → 13f28eb9e74d963db85d096c41d1a0dc} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1c77a98139216e228eba134f34095843 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/20d629f8f2d27d8418db0113f0346abc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/21bfe84f05ed2fba3ce99db95bb959b3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/23c10c485dbe7ea46614928874120ecf +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/24cb56346b5c952d3e54370706a44947 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{badf6e6ab7c3d1cc2b180e5883005a40 → 281682b191417684daf9036d98ef6f6a} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/28d688f439ef90b05d8061d8c3209a34 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{c988fd2c5c9497ccef54f79a9e444ac6 → 2acc8cc9d4b7a10606e6cdf14f6c3bbd} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/30905e99aec45e80d3e9f20ed6100f7b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/30f88df6b769522639aee569e18ab005 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3220d70364d496c9cec094a51213d58a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3250647bb1e816f8ee380676051395a0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/34180a46a1fc802cc4e37f4db0626478 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3508023b6222e6b0876c773e38ec700d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/398116cdc953ef489a67c3a7e7a1aece +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{932f699ead87a4b9910d47334ed14d60 → 3c6444c7e7cefae32b10e67f32c0277a} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3d35d51d6f620f3b4354d36d7959c89d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3d913c6890c084026be6278d4e2e8547 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/463cf86d1833a97b9145f6e36ab75d53 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/488d63b20534d2642d48b86b5a267a3b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4a0db6a94f7ee4df38bb9fc2ca66f0c7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4b55a223c2dc35a5f80af7af884749f3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/55bff739aaf7938f394017db041e742e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/56a23304bd86f6f426dd44b6a14e0bbf +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/576b745d6338e8f7635e82939abb6e5f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5b03a21e24f2318345666c69b686067a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5c3ab7f66e6c662a3ff250afdeb61a44 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5c7a9715a4d34606731b486f1251151d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5e0b7b9458a23ccc5c66e2ab0398a17c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5f85da4ac11a64f005e2656b99be44ac +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{805c63977d339feb2ea7b61e1141a32f → 615c2789eb50bd461f700dbbe612375a} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/61a4c97ff14ea9dc6f5d8ca42c65b34f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{7b63c613f1053bde6004342003178a0e → 6756d566c21f4e4b087fdff4f998d932} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/68f987c6c8cac5655b3ee24985a584fc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6e520d29d8e0af4c5fdb3ce228619f9e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/744c7370209ddecff0f0e7cb474bc4cf +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7925f8f38f5165ad9d36a7d73dd00c06 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/79f92fe028aba3a0b3cc05f29b209da3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/897fcee94209310a5d16db6b10c29dfa +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8b9fc2be9ca39f6c79bfdad5364dc676 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8d531fdb806de0724337e0b80e253914 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8df98e9b5189ffce4cf77a33533416a6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/91971e95dd0172705ab405c50732dce6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9221dd4a064b2d36adbdbce6a33a6f7e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/927bf336b73c19a6d35362d3e8ec1541 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9525e9603e466a87e595061d4af7fec7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{c190d0bdd188c43629f35b9f463b86af → 98f7a7f74c13a9f46cfbc7288fc95212} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/99fe26a80e7e5ec06edf349306f40d5a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9a08c53fbaab11a94ed694fa4fc21bce +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9c34afd1737e54e4eb06cc87ddf17b78 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a031c4e726d60fef882757c0f39eb66f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{1c63cb75109171c505bf1b6b3f26513b → a09464fdd61b5bfb25f86f5c04283d1f} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a93ec74f5cd7f26f8c663d4c481fe689 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a9b8decaa2942e8913458c9f35da2693 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{47dcfb84d9a092ad939f512e1d3db43c → adb1525a6ffb2f6bde64edad42ff1843} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b22e7be4b7531ad92c824dcfd9adca27 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/beae69b8f0d0fdaef95ab96db9591086 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c206fbd33f49ab785c6ddf4bcffd3b93 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c24da6389dfcadaf699c9b4a4eea9964 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c9ebc72dd9509bb10caa1dbedb55de2b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cc63d401339265551b27ac91974668cb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d1e4481ce50457c9250e4be77c3510a2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d4e555198f64c730192a65bdbcb8e27a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d71b8364b6c65852719d388c7d55976e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d82779125c814758e2311f37945d172e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/df90022afc0d52f16bc498be20a5967d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e5290501d2ae519f0be938a3ad74e7e0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e540a9dc1aa001f8c4cba7a6b00f69d2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e6e78e14e8c962d31e6148ca56230af9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{74d0a68ec9399e1929715edba40caff4 → ea8966f9b9d68690ec2d1d8bdd59ffb5} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/edd24c59de6c00e4e68dbbdf2775984a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f4bc04a453fa1e6b7454312a918fca27 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f5016ef8a1200a0a022e1b2f8ac7edbb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cf86568d1c692cb0a565614f282572 +0 -0
- metadata +118 -166
- data/test/dummy/public/system/dragonfly/development/2015/02/17/1331xwucig_marte38_01.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/1331xwucig_marte38_01.jpg.meta.yml +0 -4
- data/test/dummy/public/system/dragonfly/development/2015/02/17/1bkup9vlqk_unnamed.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/1bkup9vlqk_unnamed.png.meta.yml +0 -4
- data/test/dummy/public/system/dragonfly/development/2015/02/17/3kbs5oyedu_unnamed.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/3kbs5oyedu_unnamed.png.meta.yml +0 -4
- data/test/dummy/public/system/dragonfly/development/2015/02/17/51yeipq39k_unnamed.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/51yeipq39k_unnamed.png.meta.yml +0 -4
- data/test/dummy/public/system/dragonfly/development/2015/02/17/57qpcjycnz_Screen_Shot_2015_02_09_at_12.12.46.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/57qpcjycnz_Screen_Shot_2015_02_09_at_12.12.46.png.meta.yml +0 -4
- data/test/dummy/public/system/dragonfly/development/2015/02/17/5fwu19ku6u_stay_another_day.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/5fwu19ku6u_stay_another_day.jpg.meta.yml +0 -4
- data/test/dummy/public/system/dragonfly/development/2015/02/17/6gy2twpcyv_marte38_01.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/6gy2twpcyv_marte38_01.jpg.meta.yml +0 -4
- data/test/dummy/public/system/dragonfly/development/2015/02/17/6xzqa5lr5o_unnamed.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/8e6bxhsc89_unnamed.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/8e6bxhsc89_unnamed.png.meta.yml +0 -4
- data/test/dummy/public/system/dragonfly/development/2015/02/17/8kpk5uscyk_unnamed.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/8kpk5uscyk_unnamed.png.meta.yml +0 -4
- data/test/dummy/public/system/dragonfly/development/2015/02/17/8upyxtsk3r_unnamed.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/8upyxtsk3r_unnamed.png.meta.yml +0 -4
- data/test/dummy/public/system/dragonfly/development/2015/02/17/9carjg3q0n_unnamed.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/9carjg3q0n_unnamed.png.meta.yml +0 -4
- data/test/dummy/public/system/dragonfly/development/2015/02/17/9sq8ly1z0r_marte38_01.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/9sq8ly1z0r_marte38_01.jpg.meta.yml +0 -4
- data/test/dummy/public/system/dragonfly/development/2015/02/17/9swrm8bfl0_marte38_01.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/9swrm8bfl0_marte38_01.jpg.meta.yml +0 -4
- data/test/dummy/public/system/dragonfly/development/2015/02/17/t9xke2lmz_unnamed.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2015/02/17/t9xke2lmz_unnamed.png.meta.yml +0 -4
- data/test/dummy/tmp/cache/assets/development/sprockets/0448802b256c25a379824969bf01241e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0ac59c93a84a52aba800cb33372b8f96 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2479bd5cbccdeac3ab4df62c2c12e8d3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/25b238c2ec907a80d53955a0bb81073c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/31c57ad31a65f9a951c6d7268cdedae5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/36b405be9a5b7a40ad906728c9aeb94f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3d4f40cd6363f1841fa7c17dcbd281ce +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4b8d83b7ae1317cf918d180b938ff565 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4f422267ef34574e3b4422b4137c7dd8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/55d58e1add1ca367e262464e83ad82cf +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/59992ed1702654aa166f8572af80a301 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/600202d00479f08d2e69019e34d12e65 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6366afb9c2ba5987d78c050fbce75acc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/75c5663a92b2003b794d5f5d184fde44 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7a6cc81125937d35e5b984a3c7098c1a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8da458b8df4bfbd9fb0eed86c36442d4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8feb3d758b7824f15b301f9dc024c3f6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a010781c05d478892856f75c751d6ab4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a96494099d559bfd8cb5257e21cb196c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/aaa6dc2bd59e21dd14b0c86a308a1d1f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c42a7aac68d827f88bcc25a41cdb5591 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c5ef052e357af6829f6c522a38916fc7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d7f4e0230ca18ec1ef6cfa1460b096f6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ef166197fe2d31e69653c512a685ed9d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f02093872b151ddb0fd1074fe83ff846 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/faf1bbb7beb1e6ddcf804de02c7b5c36 +0 -0
- data/test/dummy/tmp/pids/server.pid +0 -1
data/test/dummy/log/test.log
CHANGED
@@ -1,31 +1,31 @@
|
|
1
|
-
[1m[36m (
|
1
|
+
[1m[36m (2.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
2
|
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
3
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
-
Migrating to CreatePushTypeUsers (
|
4
|
+
Migrating to CreatePushTypeUsers (20150222152513)
|
5
5
|
[1m[35m (0.1ms)[0m BEGIN
|
6
|
-
[1m[36mSQL (1.
|
6
|
+
[1m[36mSQL (1.8ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
7
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, "updated_at" timestamp)
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
8
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150222152513"]]
|
9
9
|
[1m[35m (0.5ms)[0m COMMIT
|
10
|
-
Migrating to CreatePushTypeNodes (
|
10
|
+
Migrating to CreatePushTypeNodes (20150222152514)
|
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", "
|
12
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
|
13
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150222152514"]]
|
14
14
|
[1m[35m (0.3ms)[0m COMMIT
|
15
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20150222152515)
|
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.6ms)[0m [1mCREATE UNIQUE INDEX "anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
19
19
|
[1m[35m (0.5ms)[0m CREATE INDEX "desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
|
20
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150222152515"]]
|
21
21
|
[1m[35m (0.3ms)[0m COMMIT
|
22
|
-
Migrating to CreatePushTypeAssets (
|
22
|
+
Migrating to CreatePushTypeAssets (20150222152516)
|
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 (3.1ms)[0m CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
|
25
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150222152516"]]
|
26
26
|
[1m[35m (0.3ms)[0m COMMIT
|
27
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
28
|
-
[1m[35m (1.
|
27
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28
|
+
[1m[35m (1.6ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
29
29
|
FROM pg_constraint c
|
30
30
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
31
31
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -37,7 +37,7 @@ WHERE c.contype = 'f'
|
|
37
37
|
AND t3.nspname = ANY (current_schemas(false))
|
38
38
|
ORDER BY c.conname
|
39
39
|
|
40
|
-
[1m[36m (1.
|
40
|
+
[1m[36m (1.4ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
41
41
|
FROM pg_constraint c
|
42
42
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
43
43
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -61,7 +61,7 @@ WHERE c.contype = 'f'
|
|
61
61
|
AND t3.nspname = ANY (current_schemas(false))
|
62
62
|
ORDER BY c.conname
|
63
63
|
|
64
|
-
[1m[36m (1.
|
64
|
+
[1m[36m (1.2ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
65
65
|
FROM pg_constraint c
|
66
66
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
67
67
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -75,791 +75,823 @@ ORDER BY c.conname
|
|
75
75
|
[0m
|
76
76
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
77
77
|
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL
|
78
|
-
[1m[36m (
|
78
|
+
[1m[36m (0.9ms)[0m [1m SELECT schemaname || '.' || tablename
|
79
79
|
FROM pg_tables
|
80
80
|
WHERE tablename !~ '_prt_' AND schemaname = ANY (current_schemas(false))
|
81
81
|
[0m
|
82
82
|
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
83
|
-
[1m[36m (
|
83
|
+
[1m[36m (7.8ms)[0m [1mTRUNCATE TABLE "public"."schema_migrations", "public"."push_type_users", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets" RESTART IDENTITY CASCADE;[0m
|
84
84
|
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL
|
85
85
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86
|
-
|
87
|
-
PushType::WysiwygMediaController::
|
88
|
-
|
86
|
+
----------------------------------------------------------------------------------
|
87
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0004_anonymous
|
88
|
+
----------------------------------------------------------------------------------
|
89
89
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
90
90
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
91
|
-
[1m[35m (0.
|
92
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
93
|
-
Parameters: {"asset"=>{}}
|
91
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
94
92
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
95
|
-
[1m[
|
96
|
-
|
97
|
-
[1m[
|
98
|
-
[1m[
|
99
|
-
[1m[
|
100
|
-
----------------------------------------------------------------------------------------
|
101
|
-
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0002_anonymous
|
102
|
-
----------------------------------------------------------------------------------------
|
103
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
104
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
105
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
106
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
107
|
-
Parameters: {"asset"=>{}}
|
93
|
+
[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-02-22 15:25:18.204025"], ["updated_at", "2015-02-22 15:25:18.204025"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
94
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
95
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
96
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-22 15:25:18.209994"], ["updated_at", "2015-02-22 15:25:18.209994"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
97
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
108
98
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
109
|
-
[1m[
|
110
|
-
|
111
|
-
[1m[
|
112
|
-
[1m[
|
113
|
-
[1m[
|
114
|
-
----------------------------------------------------------------------------------------
|
115
|
-
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0003_anonymous
|
116
|
-
----------------------------------------------------------------------------------------
|
117
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
118
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
119
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
120
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
121
|
-
Parameters: {"asset"=>{}}
|
99
|
+
[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-02-22 15:25:18.219530"], ["updated_at", "2015-02-22 15:25:18.219530"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
100
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
101
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
102
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-22 15:25:18.222021"], ["updated_at", "2015-02-22 15:25:18.222021"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
103
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
122
104
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
123
|
-
[1m[
|
124
|
-
|
125
|
-
[1m[
|
126
|
-
[1m[
|
127
|
-
[1m[
|
128
|
-
----------------------------------------------------------------------
|
129
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0001_anonymous
|
130
|
-
----------------------------------------------------------------------
|
131
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
132
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
133
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
105
|
+
[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", "5"], ["created_at", "2015-02-22 15:25:18.224616"], ["updated_at", "2015-02-22 15:25:18.224616"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
106
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
107
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
108
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "6"], ["created_at", "2015-02-22 15:25:18.227971"], ["updated_at", "2015-02-22 15:25:18.227971"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
109
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
134
110
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
135
|
-
[1m[35mSQL (0.
|
111
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "7"], ["created_at", "2015-02-22 15:25:18.230767"], ["updated_at", "2015-02-22 15:25:18.230767"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
136
112
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
137
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
138
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
139
|
-
[1m[35m (0.1ms)[0m BEGIN
|
140
|
-
----------------------------------------------------------------------
|
141
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0002_anonymous
|
142
|
-
----------------------------------------------------------------------
|
143
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
144
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
145
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
146
113
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
147
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
114
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "8"], ["created_at", "2015-02-22 15:25:18.233219"], ["updated_at", "2015-02-22 15:25:18.233219"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
148
115
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
149
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
150
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
151
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
152
|
-
----------------------------------------------------------------------
|
153
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0006_anonymous
|
154
|
-
----------------------------------------------------------------------
|
155
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
156
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
157
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
158
116
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
159
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
117
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "9"], ["created_at", "2015-02-22 15:25:18.235683"], ["updated_at", "2015-02-22 15:25:18.235683"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
160
118
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
161
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
162
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
163
|
-
[1m[35m (0.1ms)[0m BEGIN
|
164
|
-
----------------------------------------------------------------------
|
165
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0005_anonymous
|
166
|
-
----------------------------------------------------------------------
|
167
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
168
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
169
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
170
119
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
171
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
120
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "10"], ["created_at", "2015-02-22 15:25:18.238163"], ["updated_at", "2015-02-22 15:25:18.238163"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
172
121
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
173
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
174
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
175
|
-
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
176
|
-
----------------------------------------------------------------------
|
177
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0004_anonymous
|
178
|
-
----------------------------------------------------------------------
|
179
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
180
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
181
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
182
122
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
183
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
123
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "11"], ["created_at", "2015-02-22 15:25:18.240815"], ["updated_at", "2015-02-22 15:25:18.240815"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
184
124
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
185
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
186
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
187
|
-
[1m[35m (0.1ms)[0m BEGIN
|
188
|
-
----------------------------------------------------------------------
|
189
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0007_anonymous
|
190
|
-
----------------------------------------------------------------------
|
191
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
192
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
193
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
194
125
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
195
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
126
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "12"], ["created_at", "2015-02-22 15:25:18.243349"], ["updated_at", "2015-02-22 15:25:18.243349"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
196
127
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
129
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "13"], ["created_at", "2015-02-22 15:25:18.245838"], ["updated_at", "2015-02-22 15:25:18.245838"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
130
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
131
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
132
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "14"], ["created_at", "2015-02-22 15:25:18.248233"], ["updated_at", "2015-02-22 15:25:18.248233"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
133
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
134
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
135
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "15"], ["created_at", "2015-02-22 15:25:18.250772"], ["updated_at", "2015-02-22 15:25:18.250772"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
136
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
137
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
138
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "16"], ["created_at", "2015-02-22 15:25:18.253366"], ["updated_at", "2015-02-22 15:25:18.253366"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
139
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
140
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
141
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "17"], ["created_at", "2015-02-22 15:25:18.255788"], ["updated_at", "2015-02-22 15:25:18.255788"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
142
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
143
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
144
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "18"], ["created_at", "2015-02-22 15:25:18.258191"], ["updated_at", "2015-02-22 15:25:18.258191"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
145
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
146
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
147
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
148
|
+
[1m[36mPushType::Asset Load (0.6ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
149
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
150
|
+
Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.9ms)
|
197
151
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
198
152
|
[1m[35m (0.1ms)[0m ROLLBACK
|
199
153
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
200
|
-
|
201
|
-
PushType::
|
202
|
-
|
154
|
+
----------------------------------------------------------------------------------
|
155
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0002_anonymous
|
156
|
+
----------------------------------------------------------------------------------
|
203
157
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
204
158
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
205
159
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
206
160
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
207
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
161
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "19"], ["created_at", "2015-02-22 15:25:18.283854"], ["updated_at", "2015-02-22 15:25:18.283854"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
208
162
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
209
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
210
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
211
|
-
[1m[35m (0.1ms)[0m BEGIN
|
212
|
-
----------------------------------------------------------------------------------
|
213
|
-
PushType::WysiwygMediaController::GET #index::with pagination: test_0001_anonymous
|
214
|
-
----------------------------------------------------------------------------------
|
215
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
216
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
217
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
218
163
|
[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", "
|
164
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-22 15:25:18.286688"], ["updated_at", "2015-02-22 15:25:18.286688"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
220
165
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
221
166
|
[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", "
|
167
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "21"], ["created_at", "2015-02-22 15:25:18.289178"], ["updated_at", "2015-02-22 15:25:18.289178"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
223
168
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
224
169
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
225
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
170
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "22"], ["created_at", "2015-02-22 15:25:18.291675"], ["updated_at", "2015-02-22 15:25:18.291675"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
226
171
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
227
172
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
228
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
173
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "23"], ["created_at", "2015-02-22 15:25:18.294134"], ["updated_at", "2015-02-22 15:25:18.294134"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
229
174
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
230
175
|
[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", "
|
176
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "24"], ["created_at", "2015-02-22 15:25:18.296740"], ["updated_at", "2015-02-22 15:25:18.296740"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
232
177
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
233
178
|
[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", "
|
179
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "25"], ["created_at", "2015-02-22 15:25:18.299343"], ["updated_at", "2015-02-22 15:25:18.299343"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
235
180
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
236
181
|
[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", "
|
182
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "26"], ["created_at", "2015-02-22 15:25:18.301738"], ["updated_at", "2015-02-22 15:25:18.301738"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
238
183
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
239
184
|
[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", "
|
185
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "27"], ["created_at", "2015-02-22 15:25:18.304328"], ["updated_at", "2015-02-22 15:25:18.304328"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
241
186
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
242
187
|
[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", "
|
188
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "28"], ["created_at", "2015-02-22 15:25:18.306799"], ["updated_at", "2015-02-22 15:25:18.306799"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
244
189
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
245
190
|
[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", "
|
191
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "29"], ["created_at", "2015-02-22 15:25:18.309312"], ["updated_at", "2015-02-22 15:25:18.309312"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
247
192
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
248
193
|
[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", "
|
194
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "30"], ["created_at", "2015-02-22 15:25:18.311865"], ["updated_at", "2015-02-22 15:25:18.311865"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
250
195
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
251
196
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
252
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
197
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "31"], ["created_at", "2015-02-22 15:25:18.314310"], ["updated_at", "2015-02-22 15:25:18.314310"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
253
198
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
254
199
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
255
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
200
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "32"], ["created_at", "2015-02-22 15:25:18.316874"], ["updated_at", "2015-02-22 15:25:18.316874"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
256
201
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
257
202
|
[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", "
|
203
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "33"], ["created_at", "2015-02-22 15:25:18.319277"], ["updated_at", "2015-02-22 15:25:18.319277"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
259
204
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
260
205
|
[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", "
|
206
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "34"], ["created_at", "2015-02-22 15:25:18.321847"], ["updated_at", "2015-02-22 15:25:18.321847"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
262
207
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
263
208
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
264
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
209
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "35"], ["created_at", "2015-02-22 15:25:18.324292"], ["updated_at", "2015-02-22 15:25:18.324292"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
265
210
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
266
211
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
267
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
212
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "36"], ["created_at", "2015-02-22 15:25:18.326770"], ["updated_at", "2015-02-22 15:25:18.326770"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
268
213
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
269
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
270
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "25"], ["created_at", "2015-02-09 20:44:06.930353"], ["updated_at", "2015-02-09 20:44:06.930353"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
271
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
272
214
|
Processing by PushType::WysiwygMediaController#index as JSON
|
273
215
|
Parameters: {"filter"=>"file", "page"=>2}
|
274
|
-
[1m[
|
275
|
-
[1m[
|
276
|
-
Completed 200 OK in
|
277
|
-
[1m[
|
278
|
-
[1m[
|
279
|
-
[1m[
|
216
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
217
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
218
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
219
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
220
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
221
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
280
222
|
----------------------------------------------------------------------------------
|
281
|
-
PushType::WysiwygMediaController::GET #index::with pagination:
|
223
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0003_anonymous
|
282
224
|
----------------------------------------------------------------------------------
|
283
|
-
[1m[
|
284
|
-
[1m[
|
285
|
-
[1m[
|
286
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
287
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "26"], ["created_at", "2015-02-09 20:44:06.952078"], ["updated_at", "2015-02-09 20:44:06.952078"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
288
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
225
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
226
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
227
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
289
228
|
[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", "
|
229
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "37"], ["created_at", "2015-02-22 15:25:18.338140"], ["updated_at", "2015-02-22 15:25:18.338140"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
291
230
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
292
231
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
293
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
232
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "38"], ["created_at", "2015-02-22 15:25:18.340784"], ["updated_at", "2015-02-22 15:25:18.340784"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
294
233
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
295
234
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
296
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
235
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "39"], ["created_at", "2015-02-22 15:25:18.343322"], ["updated_at", "2015-02-22 15:25:18.343322"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
297
236
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
298
237
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
299
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
238
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "40"], ["created_at", "2015-02-22 15:25:18.345832"], ["updated_at", "2015-02-22 15:25:18.345832"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
300
239
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
301
240
|
[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", "
|
241
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "41"], ["created_at", "2015-02-22 15:25:18.348351"], ["updated_at", "2015-02-22 15:25:18.348351"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
303
242
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
304
243
|
[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", "
|
244
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "42"], ["created_at", "2015-02-22 15:25:18.350711"], ["updated_at", "2015-02-22 15:25:18.350711"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
306
245
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
307
246
|
[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", "
|
247
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "43"], ["created_at", "2015-02-22 15:25:18.353064"], ["updated_at", "2015-02-22 15:25:18.353064"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
309
248
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
310
249
|
[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", "
|
250
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "44"], ["created_at", "2015-02-22 15:25:18.355435"], ["updated_at", "2015-02-22 15:25:18.355435"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
312
251
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
313
252
|
[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", "
|
253
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "45"], ["created_at", "2015-02-22 15:25:18.357884"], ["updated_at", "2015-02-22 15:25:18.357884"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
315
254
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
316
255
|
[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", "
|
256
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "46"], ["created_at", "2015-02-22 15:25:18.360542"], ["updated_at", "2015-02-22 15:25:18.360542"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
318
257
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
319
258
|
[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", "
|
259
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "47"], ["created_at", "2015-02-22 15:25:18.363030"], ["updated_at", "2015-02-22 15:25:18.363030"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
321
260
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
322
261
|
[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", "
|
262
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "48"], ["created_at", "2015-02-22 15:25:18.365590"], ["updated_at", "2015-02-22 15:25:18.365590"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
324
263
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
325
264
|
[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", "
|
265
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "49"], ["created_at", "2015-02-22 15:25:18.368144"], ["updated_at", "2015-02-22 15:25:18.368144"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
327
266
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
328
267
|
[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", "
|
268
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "50"], ["created_at", "2015-02-22 15:25:18.370881"], ["updated_at", "2015-02-22 15:25:18.370881"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
330
269
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
331
270
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
332
|
-
[1m[35mSQL (0.
|
271
|
+
[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", "51"], ["created_at", "2015-02-22 15:25:18.373881"], ["updated_at", "2015-02-22 15:25:18.373881"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
333
272
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
334
273
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
335
|
-
[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", "
|
274
|
+
[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", "52"], ["created_at", "2015-02-22 15:25:18.377075"], ["updated_at", "2015-02-22 15:25:18.377075"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
336
275
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
337
276
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
338
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
277
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "53"], ["created_at", "2015-02-22 15:25:18.380577"], ["updated_at", "2015-02-22 15:25:18.380577"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
339
278
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
279
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
280
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "54"], ["created_at", "2015-02-22 15:25:18.383475"], ["updated_at", "2015-02-22 15:25:18.383475"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
281
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
340
282
|
Processing by PushType::WysiwygMediaController#index as JSON
|
341
283
|
Parameters: {"filter"=>"file", "page"=>2}
|
342
|
-
[1m[
|
343
|
-
[1m[
|
344
|
-
Completed 200 OK in
|
345
|
-
[1m[
|
346
|
-
[1m[
|
347
|
-
[1m[
|
284
|
+
[1m[36mPushType::Asset Load (0.4ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
285
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
286
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
287
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
288
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
289
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
348
290
|
----------------------------------------------------------------------------------
|
349
|
-
PushType::WysiwygMediaController::GET #index::with pagination:
|
291
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0001_anonymous
|
350
292
|
----------------------------------------------------------------------------------
|
351
|
-
[1m[
|
352
|
-
[1m[
|
353
|
-
[1m[
|
354
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
355
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "44"], ["created_at", "2015-02-09 20:44:07.007890"], ["updated_at", "2015-02-09 20:44:07.007890"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
356
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
293
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
294
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
357
296
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
358
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
297
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "55"], ["created_at", "2015-02-22 15:25:18.401100"], ["updated_at", "2015-02-22 15:25:18.401100"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
359
298
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
360
299
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
361
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
300
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "56"], ["created_at", "2015-02-22 15:25:18.403712"], ["updated_at", "2015-02-22 15:25:18.403712"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
362
301
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
363
302
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
364
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
303
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "57"], ["created_at", "2015-02-22 15:25:18.406160"], ["updated_at", "2015-02-22 15:25:18.406160"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
365
304
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
366
305
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
367
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
306
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "58"], ["created_at", "2015-02-22 15:25:18.408581"], ["updated_at", "2015-02-22 15:25:18.408581"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
368
307
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
369
308
|
[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", "
|
309
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "59"], ["created_at", "2015-02-22 15:25:18.411183"], ["updated_at", "2015-02-22 15:25:18.411183"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
371
310
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
372
311
|
[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", "
|
312
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "60"], ["created_at", "2015-02-22 15:25:18.413751"], ["updated_at", "2015-02-22 15:25:18.413751"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
374
313
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
375
314
|
[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", "
|
315
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "61"], ["created_at", "2015-02-22 15:25:18.416232"], ["updated_at", "2015-02-22 15:25:18.416232"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
377
316
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
378
317
|
[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", "
|
318
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "62"], ["created_at", "2015-02-22 15:25:18.418669"], ["updated_at", "2015-02-22 15:25:18.418669"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
380
319
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
381
320
|
[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", "
|
321
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "63"], ["created_at", "2015-02-22 15:25:18.421085"], ["updated_at", "2015-02-22 15:25:18.421085"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
383
322
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
384
323
|
[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", "
|
324
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "64"], ["created_at", "2015-02-22 15:25:18.423628"], ["updated_at", "2015-02-22 15:25:18.423628"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
386
325
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
387
326
|
[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", "
|
327
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "65"], ["created_at", "2015-02-22 15:25:18.426120"], ["updated_at", "2015-02-22 15:25:18.426120"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
389
328
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
390
329
|
[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", "
|
330
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "66"], ["created_at", "2015-02-22 15:25:18.428870"], ["updated_at", "2015-02-22 15:25:18.428870"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
392
331
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
393
332
|
[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", "
|
333
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "67"], ["created_at", "2015-02-22 15:25:18.431391"], ["updated_at", "2015-02-22 15:25:18.431391"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
395
334
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
396
335
|
[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", "
|
336
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "68"], ["created_at", "2015-02-22 15:25:18.433958"], ["updated_at", "2015-02-22 15:25:18.433958"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
398
337
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
399
338
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
400
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
339
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "69"], ["created_at", "2015-02-22 15:25:18.436533"], ["updated_at", "2015-02-22 15:25:18.436533"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
401
340
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
402
341
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
403
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
342
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "70"], ["created_at", "2015-02-22 15:25:18.439022"], ["updated_at", "2015-02-22 15:25:18.439022"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
404
343
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
405
344
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
406
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
345
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "71"], ["created_at", "2015-02-22 15:25:18.441415"], ["updated_at", "2015-02-22 15:25:18.441415"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
407
346
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
347
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
348
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "72"], ["created_at", "2015-02-22 15:25:18.443829"], ["updated_at", "2015-02-22 15:25:18.443829"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
349
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
408
350
|
Processing by PushType::WysiwygMediaController#index as JSON
|
409
351
|
Parameters: {"filter"=>"file", "page"=>2}
|
410
|
-
[1m[
|
411
|
-
[1m[
|
412
|
-
Completed 200 OK in
|
352
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
353
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
354
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
355
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
356
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
357
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
358
|
+
----------------------------------------------------------------------
|
359
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0002_anonymous
|
360
|
+
----------------------------------------------------------------------
|
361
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
362
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
363
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
364
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
365
|
+
[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", "73"], ["created_at", "2015-02-22 15:25:18.457669"], ["updated_at", "2015-02-22 15:25:18.457669"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
366
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
413
367
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
414
368
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
415
369
|
[1m[35m (0.1ms)[0m BEGIN
|
416
|
-
|
417
|
-
PushType::
|
418
|
-
|
370
|
+
----------------------------------------------------------------------
|
371
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0007_anonymous
|
372
|
+
----------------------------------------------------------------------
|
419
373
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
420
|
-
[1m[35m (0.
|
374
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
375
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
376
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
377
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "74"], ["created_at", "2015-02-22 15:25:18.465859"], ["updated_at", "2015-02-22 15:25:18.465859"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
378
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
379
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
380
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
381
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
382
|
+
----------------------------------------------------------------------
|
383
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0006_anonymous
|
384
|
+
----------------------------------------------------------------------
|
385
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
386
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
387
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
388
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
389
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "75"], ["created_at", "2015-02-22 15:25:18.472448"], ["updated_at", "2015-02-22 15:25:18.472448"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
390
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
391
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
392
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
393
|
+
[1m[35m (0.1ms)[0m BEGIN
|
394
|
+
----------------------------------------------------------------------
|
395
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0004_anonymous
|
396
|
+
----------------------------------------------------------------------
|
421
397
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
398
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
399
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
422
400
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
423
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
401
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "76"], ["created_at", "2015-02-22 15:25:18.478956"], ["updated_at", "2015-02-22 15:25:18.478956"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
424
402
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
403
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
404
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
405
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
406
|
+
----------------------------------------------------------------------
|
407
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0005_anonymous
|
408
|
+
----------------------------------------------------------------------
|
409
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
410
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
411
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
425
412
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
426
|
-
[1m[35mSQL (0.
|
413
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "77"], ["created_at", "2015-02-22 15:25:18.485601"], ["updated_at", "2015-02-22 15:25:18.485601"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
427
414
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
415
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
416
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
417
|
+
[1m[35m (0.1ms)[0m BEGIN
|
418
|
+
----------------------------------------------------------------------
|
419
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0001_anonymous
|
420
|
+
----------------------------------------------------------------------
|
421
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
422
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
423
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
428
424
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
429
|
-
[1m[36mSQL (0.
|
425
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "78"], ["created_at", "2015-02-22 15:25:18.492612"], ["updated_at", "2015-02-22 15:25:18.492612"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
430
426
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
427
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
428
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
429
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
430
|
+
----------------------------------------------------------------------
|
431
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0003_anonymous
|
432
|
+
----------------------------------------------------------------------
|
433
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
434
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
435
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
431
436
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
432
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
437
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "79"], ["created_at", "2015-02-22 15:25:18.499446"], ["updated_at", "2015-02-22 15:25:18.499446"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
438
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
439
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
440
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
441
|
+
[1m[35m (0.1ms)[0m BEGIN
|
442
|
+
--------------------------------------------------------------------------------
|
443
|
+
PushType::WysiwygMediaController::POST #create::asset count: test_0001_anonymous
|
444
|
+
--------------------------------------------------------------------------------
|
445
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
446
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
447
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
448
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
449
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
450
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fc343f009e8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150222-6309-168di47>>}}
|
451
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
452
|
+
[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", "80"], ["created_at", "2015-02-22 15:25:18.516053"], ["updated_at", "2015-02-22 15:25:18.516053"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
453
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
454
|
+
Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
455
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
456
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
457
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
458
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
459
|
+
-----------------------------------------------------------------------
|
460
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0001_anonymous
|
461
|
+
-----------------------------------------------------------------------
|
462
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
463
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
464
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
465
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
466
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "81"], ["created_at", "2015-02-22 15:25:18.524596"], ["updated_at", "2015-02-22 15:25:18.524596"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
433
467
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
434
468
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
435
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
469
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "82"], ["created_at", "2015-02-22 15:25:18.527197"], ["updated_at", "2015-02-22 15:25:18.527197"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
436
470
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
437
471
|
[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", "
|
472
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "83"], ["created_at", "2015-02-22 15:25:18.529881"], ["updated_at", "2015-02-22 15:25:18.529881"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
439
473
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
440
474
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
441
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
475
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "84"], ["created_at", "2015-02-22 15:25:18.532425"], ["updated_at", "2015-02-22 15:25:18.532425"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
476
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
477
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
478
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
479
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
480
|
+
[1m[35m (0.0ms)[0m BEGIN
|
481
|
+
-----------------------------------------------------------------------
|
482
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0003_anonymous
|
483
|
+
-----------------------------------------------------------------------
|
484
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
485
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
486
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
487
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
488
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "85"], ["created_at", "2015-02-22 15:25:18.537510"], ["updated_at", "2015-02-22 15:25:18.537510"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
442
489
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
443
490
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
444
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
491
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "86"], ["created_at", "2015-02-22 15:25:18.540010"], ["updated_at", "2015-02-22 15:25:18.540010"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
445
492
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
446
493
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
447
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
494
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "87"], ["created_at", "2015-02-22 15:25:18.542437"], ["updated_at", "2015-02-22 15:25:18.542437"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
448
495
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
449
496
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
450
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
497
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "88"], ["created_at", "2015-02-22 15:25:18.544979"], ["updated_at", "2015-02-22 15:25:18.544979"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
498
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
499
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
500
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
501
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
502
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
503
|
+
-----------------------------------------------------------------------
|
504
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0004_anonymous
|
505
|
+
-----------------------------------------------------------------------
|
506
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
507
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
508
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
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", "image.png"], ["file_size", 2643], ["file_uid", "89"], ["created_at", "2015-02-22 15:25:18.550205"], ["updated_at", "2015-02-22 15:25:18.550205"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
451
511
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
452
512
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
453
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "90"], ["created_at", "2015-02-22 15:25:18.552737"], ["updated_at", "2015-02-22 15:25:18.552737"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
454
514
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
455
515
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
456
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "91"], ["created_at", "2015-02-22 15:25:18.555163"], ["updated_at", "2015-02-22 15:25:18.555163"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
457
517
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
458
518
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
459
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
519
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "92"], ["created_at", "2015-02-22 15:25:18.557599"], ["updated_at", "2015-02-22 15:25:18.557599"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
520
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
521
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
522
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
523
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
524
|
+
[1m[35m (0.1ms)[0m BEGIN
|
525
|
+
-----------------------------------------------------------------------
|
526
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0005_anonymous
|
527
|
+
-----------------------------------------------------------------------
|
528
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
529
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
530
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
531
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
532
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "93"], ["created_at", "2015-02-22 15:25:18.562700"], ["updated_at", "2015-02-22 15:25:18.562700"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
460
533
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
461
534
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
462
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
535
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "94"], ["created_at", "2015-02-22 15:25:18.565284"], ["updated_at", "2015-02-22 15:25:18.565284"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
463
536
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
464
537
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
465
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
538
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "95"], ["created_at", "2015-02-22 15:25:18.567811"], ["updated_at", "2015-02-22 15:25:18.567811"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
466
539
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
467
540
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
468
|
-
[1m[35mSQL (0.
|
541
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-22 15:25:18.595450"], ["updated_at", "2015-02-22 15:25:18.595450"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
542
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
543
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
544
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
545
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
546
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
547
|
+
-----------------------------------------------------------------------
|
548
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0002_anonymous
|
549
|
+
-----------------------------------------------------------------------
|
550
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
551
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
552
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
553
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
554
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "97"], ["created_at", "2015-02-22 15:25:18.600777"], ["updated_at", "2015-02-22 15:25:18.600777"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
469
555
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
470
556
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
471
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
557
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "98"], ["created_at", "2015-02-22 15:25:18.603335"], ["updated_at", "2015-02-22 15:25:18.603335"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
472
558
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
473
559
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
474
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
560
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "99"], ["created_at", "2015-02-22 15:25:18.606100"], ["updated_at", "2015-02-22 15:25:18.606100"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
475
561
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
476
|
-
|
477
|
-
|
478
|
-
[1m[
|
479
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"
|
480
|
-
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
562
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
563
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "100"], ["created_at", "2015-02-22 15:25:18.608682"], ["updated_at", "2015-02-22 15:25:18.608682"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
564
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
565
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
481
566
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
482
|
-
[1m[36m (0.
|
483
|
-
[1m[35m (0.
|
567
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
568
|
+
[1m[35m (0.0ms)[0m BEGIN
|
484
569
|
---------------------------------------------------------------------------------------
|
485
|
-
PushType::WysiwygMediaController::GET #index::filtering for images:
|
570
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0003_anonymous
|
486
571
|
---------------------------------------------------------------------------------------
|
487
|
-
[1m[36m (0.
|
488
|
-
[1m[35m (0.
|
572
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
573
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
489
574
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
490
575
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
491
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "101"], ["created_at", "2015-02-22 15:25:18.614417"], ["updated_at", "2015-02-22 15:25:18.614417"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
492
577
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
493
578
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
494
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "102"], ["created_at", "2015-02-22 15:25:18.617159"], ["updated_at", "2015-02-22 15:25:18.617159"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
495
580
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
496
581
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
497
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "103"], ["created_at", "2015-02-22 15:25:18.619734"], ["updated_at", "2015-02-22 15:25:18.619734"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
498
583
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
499
584
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
500
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "104"], ["created_at", "2015-02-22 15:25:18.622266"], ["updated_at", "2015-02-22 15:25:18.622266"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
501
586
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
502
587
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
503
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "105"], ["created_at", "2015-02-22 15:25:18.625176"], ["updated_at", "2015-02-22 15:25:18.625176"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
504
589
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
505
590
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
506
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "106"], ["created_at", "2015-02-22 15:25:18.627976"], ["updated_at", "2015-02-22 15:25:18.627976"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
507
592
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
508
593
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
509
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
594
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "107"], ["created_at", "2015-02-22 15:25:18.630612"], ["updated_at", "2015-02-22 15:25:18.630612"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
510
595
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
511
596
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
512
|
-
[1m[35mSQL (0.
|
597
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "108"], ["created_at", "2015-02-22 15:25:18.633266"], ["updated_at", "2015-02-22 15:25:18.633266"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
513
598
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
514
599
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
515
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
600
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-22 15:25:18.636187"], ["updated_at", "2015-02-22 15:25:18.636187"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
516
601
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
517
602
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
518
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
603
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-22 15:25:18.639007"], ["updated_at", "2015-02-22 15:25:18.639007"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
519
604
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
520
605
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
521
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
606
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-22 15:25:18.641544"], ["updated_at", "2015-02-22 15:25:18.641544"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
522
607
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
523
608
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
524
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
609
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-22 15:25:18.644077"], ["updated_at", "2015-02-22 15:25:18.644077"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
525
610
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
526
611
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
527
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
612
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-22 15:25:18.646781"], ["updated_at", "2015-02-22 15:25:18.646781"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
528
613
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
529
614
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
530
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
615
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "114"], ["created_at", "2015-02-22 15:25:18.649475"], ["updated_at", "2015-02-22 15:25:18.649475"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
531
616
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
532
617
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
533
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
618
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "115"], ["created_at", "2015-02-22 15:25:18.652072"], ["updated_at", "2015-02-22 15:25:18.652072"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
534
619
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
535
620
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
536
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
621
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "116"], ["created_at", "2015-02-22 15:25:18.654619"], ["updated_at", "2015-02-22 15:25:18.654619"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
537
622
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
538
623
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
539
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
624
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "117"], ["created_at", "2015-02-22 15:25:18.657009"], ["updated_at", "2015-02-22 15:25:18.657009"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
540
625
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
541
626
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
542
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
627
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "118"], ["created_at", "2015-02-22 15:25:18.659374"], ["updated_at", "2015-02-22 15:25:18.659374"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
543
628
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
544
629
|
Processing by PushType::WysiwygMediaController#index as JSON
|
545
630
|
Parameters: {"filter"=>"image"}
|
546
631
|
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
547
|
-
[1m[36m (0.
|
548
|
-
Completed 200 OK in
|
632
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
633
|
+
Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
549
634
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
550
|
-
[1m[36m (0.
|
635
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
551
636
|
[1m[35m (0.1ms)[0m BEGIN
|
552
637
|
---------------------------------------------------------------------------------------
|
553
|
-
PushType::WysiwygMediaController::GET #index::filtering for images:
|
638
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0001_anonymous
|
554
639
|
---------------------------------------------------------------------------------------
|
555
640
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
556
641
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
557
642
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
558
643
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
559
|
-
[1m[36mSQL (0.
|
644
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "119"], ["created_at", "2015-02-22 15:25:18.678412"], ["updated_at", "2015-02-22 15:25:18.678412"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
560
645
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
561
646
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
562
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "120"], ["created_at", "2015-02-22 15:25:18.681584"], ["updated_at", "2015-02-22 15:25:18.681584"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
563
648
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
564
649
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
565
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "121"], ["created_at", "2015-02-22 15:25:18.684759"], ["updated_at", "2015-02-22 15:25:18.684759"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
566
651
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
567
652
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
568
|
-
[1m[35mSQL (0.
|
653
|
+
[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", "122"], ["created_at", "2015-02-22 15:25:18.688923"], ["updated_at", "2015-02-22 15:25:18.688923"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
569
654
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
570
655
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
571
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "123"], ["created_at", "2015-02-22 15:25:18.692022"], ["updated_at", "2015-02-22 15:25:18.692022"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
572
657
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
573
658
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
574
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "124"], ["created_at", "2015-02-22 15:25:18.694762"], ["updated_at", "2015-02-22 15:25:18.694762"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
575
660
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
576
661
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
577
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "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", "125"], ["created_at", "2015-02-22 15:25:18.698017"], ["updated_at", "2015-02-22 15:25:18.698017"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
578
663
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
579
664
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
580
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "126"], ["created_at", "2015-02-22 15:25:18.700940"], ["updated_at", "2015-02-22 15:25:18.700940"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
581
666
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
582
667
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
583
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "127"], ["created_at", "2015-02-22 15:25:18.703455"], ["updated_at", "2015-02-22 15:25:18.703455"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
584
669
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
585
670
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
586
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "128"], ["created_at", "2015-02-22 15:25:18.705865"], ["updated_at", "2015-02-22 15:25:18.705865"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
587
672
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
588
673
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
589
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "129"], ["created_at", "2015-02-22 15:25:18.708314"], ["updated_at", "2015-02-22 15:25:18.708314"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
590
675
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
591
676
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
592
|
-
[1m[35mSQL (0.
|
677
|
+
[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", "130"], ["created_at", "2015-02-22 15:25:18.711162"], ["updated_at", "2015-02-22 15:25:18.711162"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
593
678
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
594
679
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
595
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
680
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-22 15:25:18.713986"], ["updated_at", "2015-02-22 15:25:18.713986"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
596
681
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
597
682
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
598
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
683
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "132"], ["created_at", "2015-02-22 15:25:18.716596"], ["updated_at", "2015-02-22 15:25:18.716596"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
599
684
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
600
685
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
601
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
686
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "133"], ["created_at", "2015-02-22 15:25:18.719424"], ["updated_at", "2015-02-22 15:25:18.719424"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
602
687
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
603
688
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
604
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
689
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "134"], ["created_at", "2015-02-22 15:25:18.722289"], ["updated_at", "2015-02-22 15:25:18.722289"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
605
690
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
606
691
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
607
|
-
[1m[36mSQL (0.
|
692
|
+
[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", "135"], ["created_at", "2015-02-22 15:25:18.796967"], ["updated_at", "2015-02-22 15:25:18.796967"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
608
693
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
609
694
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
610
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
695
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "136"], ["created_at", "2015-02-22 15:25:18.799980"], ["updated_at", "2015-02-22 15:25:18.799980"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
611
696
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
612
697
|
Processing by PushType::WysiwygMediaController#index as JSON
|
613
698
|
Parameters: {"filter"=>"image"}
|
614
699
|
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
615
|
-
[1m[36m (0.
|
616
|
-
Completed 200 OK in
|
700
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
701
|
+
Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 0.6ms)
|
617
702
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
618
703
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
619
704
|
[1m[35m (0.1ms)[0m BEGIN
|
620
705
|
---------------------------------------------------------------------------------------
|
621
|
-
PushType::WysiwygMediaController::GET #index::filtering for images:
|
706
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0002_anonymous
|
622
707
|
---------------------------------------------------------------------------------------
|
623
708
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
624
|
-
[1m[35m (0.
|
709
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
625
710
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
626
711
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
627
|
-
[1m[36mSQL (0.
|
712
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "137"], ["created_at", "2015-02-22 15:25:18.820680"], ["updated_at", "2015-02-22 15:25:18.820680"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
628
713
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
629
714
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
630
|
-
[1m[35mSQL (0.
|
715
|
+
[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", "138"], ["created_at", "2015-02-22 15:25:18.824132"], ["updated_at", "2015-02-22 15:25:18.824132"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
631
716
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
632
717
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
633
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "139"], ["created_at", "2015-02-22 15:25:18.827191"], ["updated_at", "2015-02-22 15:25:18.827191"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
634
719
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
635
720
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
636
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "140"], ["created_at", "2015-02-22 15:25:18.830030"], ["updated_at", "2015-02-22 15:25:18.830030"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
637
722
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
638
723
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
639
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "141"], ["created_at", "2015-02-22 15:25:18.832808"], ["updated_at", "2015-02-22 15:25:18.832808"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
640
725
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
641
726
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
642
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "142"], ["created_at", "2015-02-22 15:25:18.835787"], ["updated_at", "2015-02-22 15:25:18.835787"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
643
728
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
644
729
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
645
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "143"], ["created_at", "2015-02-22 15:25:18.838393"], ["updated_at", "2015-02-22 15:25:18.838393"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
646
731
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
647
732
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
648
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "144"], ["created_at", "2015-02-22 15:25:18.841031"], ["updated_at", "2015-02-22 15:25:18.841031"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
649
734
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
650
735
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
651
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "145"], ["created_at", "2015-02-22 15:25:18.849364"], ["updated_at", "2015-02-22 15:25:18.849364"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
652
737
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
653
738
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
654
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "146"], ["created_at", "2015-02-22 15:25:18.852320"], ["updated_at", "2015-02-22 15:25:18.852320"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
655
740
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
656
741
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
657
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "147"], ["created_at", "2015-02-22 15:25:18.854962"], ["updated_at", "2015-02-22 15:25:18.854962"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
658
743
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
659
744
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
660
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "148"], ["created_at", "2015-02-22 15:25:18.857487"], ["updated_at", "2015-02-22 15:25:18.857487"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
661
746
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
662
747
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
663
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "149"], ["created_at", "2015-02-22 15:25:18.860019"], ["updated_at", "2015-02-22 15:25:18.860019"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
664
749
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
665
750
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
666
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
751
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "150"], ["created_at", "2015-02-22 15:25:18.862823"], ["updated_at", "2015-02-22 15:25:18.862823"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
667
752
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
668
753
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
669
|
-
[1m[36mSQL (0.
|
754
|
+
[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", "151"], ["created_at", "2015-02-22 15:25:18.865494"], ["updated_at", "2015-02-22 15:25:18.865494"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
670
755
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
671
756
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
672
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
757
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "152"], ["created_at", "2015-02-22 15:25:18.868076"], ["updated_at", "2015-02-22 15:25:18.868076"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
673
758
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
674
759
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
675
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
760
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "153"], ["created_at", "2015-02-22 15:25:18.870540"], ["updated_at", "2015-02-22 15:25:18.870540"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
676
761
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
677
762
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
678
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
763
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "154"], ["created_at", "2015-02-22 15:25:18.873191"], ["updated_at", "2015-02-22 15:25:18.873191"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
679
764
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
680
765
|
Processing by PushType::WysiwygMediaController#index as JSON
|
681
766
|
Parameters: {"filter"=>"image"}
|
682
767
|
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
683
|
-
[1m[36m (0.
|
684
|
-
Completed 200 OK in
|
768
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
769
|
+
Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
685
770
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
686
771
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
687
772
|
[1m[35m (0.1ms)[0m BEGIN
|
688
773
|
---------------------------------------------------------------------------------------
|
689
|
-
PushType::WysiwygMediaController::GET #index::filtering for images:
|
774
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0004_anonymous
|
690
775
|
---------------------------------------------------------------------------------------
|
691
776
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
692
777
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
693
778
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
694
779
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
695
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["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", "image.png"], ["file_size", 2643], ["file_uid", "155"], ["created_at", "2015-02-22 15:25:18.894274"], ["updated_at", "2015-02-22 15:25:18.894274"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
696
781
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
697
782
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
698
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["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", "image.png"], ["file_size", 2643], ["file_uid", "156"], ["created_at", "2015-02-22 15:25:18.896902"], ["updated_at", "2015-02-22 15:25:18.896902"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
699
784
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
700
785
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
701
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["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", "image.png"], ["file_size", 2643], ["file_uid", "157"], ["created_at", "2015-02-22 15:25:18.899651"], ["updated_at", "2015-02-22 15:25:18.899651"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
702
787
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
703
788
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
704
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["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", "image.png"], ["file_size", 2643], ["file_uid", "158"], ["created_at", "2015-02-22 15:25:18.902487"], ["updated_at", "2015-02-22 15:25:18.902487"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
705
790
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
706
791
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
707
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["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", "image.png"], ["file_size", 2643], ["file_uid", "159"], ["created_at", "2015-02-22 15:25:18.905062"], ["updated_at", "2015-02-22 15:25:18.905062"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
708
793
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
709
794
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
710
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "160"], ["created_at", "2015-02-22 15:25:18.907566"], ["updated_at", "2015-02-22 15:25:18.907566"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
711
796
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
712
797
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
713
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "161"], ["created_at", "2015-02-22 15:25:18.910247"], ["updated_at", "2015-02-22 15:25:18.910247"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
714
799
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
715
800
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
716
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "162"], ["created_at", "2015-02-22 15:25:18.912861"], ["updated_at", "2015-02-22 15:25:18.912861"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
717
802
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
718
803
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
719
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "163"], ["created_at", "2015-02-22 15:25:18.915383"], ["updated_at", "2015-02-22 15:25:18.915383"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
720
805
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
721
806
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
722
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "164"], ["created_at", "2015-02-22 15:25:18.917943"], ["updated_at", "2015-02-22 15:25:18.917943"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
723
808
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
724
809
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
725
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "165"], ["created_at", "2015-02-22 15:25:18.920570"], ["updated_at", "2015-02-22 15:25:18.920570"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
726
811
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
727
812
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
728
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "166"], ["created_at", "2015-02-22 15:25:18.923283"], ["updated_at", "2015-02-22 15:25:18.923283"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
729
814
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
730
815
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
731
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "167"], ["created_at", "2015-02-22 15:25:18.926020"], ["updated_at", "2015-02-22 15:25:18.926020"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
732
817
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
733
818
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
734
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
819
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-22 15:25:18.928737"], ["updated_at", "2015-02-22 15:25:18.928737"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
735
820
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
736
821
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
737
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
822
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-22 15:25:18.931305"], ["updated_at", "2015-02-22 15:25:18.931305"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
738
823
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
739
824
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
740
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
825
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-22 15:25:18.934019"], ["updated_at", "2015-02-22 15:25:18.934019"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
741
826
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
742
827
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
743
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
828
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-22 15:25:18.936541"], ["updated_at", "2015-02-22 15:25:18.936541"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
744
829
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
745
830
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
746
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
831
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "172"], ["created_at", "2015-02-22 15:25:18.939035"], ["updated_at", "2015-02-22 15:25:18.939035"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
747
832
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
748
833
|
Processing by PushType::WysiwygMediaController#index as JSON
|
749
834
|
Parameters: {"filter"=>"image"}
|
750
835
|
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
751
|
-
[1m[36m (0.
|
752
|
-
Completed 200 OK in 11ms (Views: 0.
|
836
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
837
|
+
Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 0.5ms)
|
753
838
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
754
839
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
755
840
|
[1m[35m (0.1ms)[0m BEGIN
|
756
|
-
|
757
|
-
PushType::
|
758
|
-
|
841
|
+
----------------------------------------------------------------------------------------
|
842
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0002_anonymous
|
843
|
+
----------------------------------------------------------------------------------------
|
759
844
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
760
845
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
761
|
-
[1m[36m (0.
|
762
|
-
|
763
|
-
|
764
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
765
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
766
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "153"], ["created_at", "2015-02-09 20:44:07.424120"], ["updated_at", "2015-02-09 20:44:07.424120"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
767
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
768
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
769
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "154"], ["created_at", "2015-02-09 20:44:07.426713"], ["updated_at", "2015-02-09 20:44:07.426713"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
770
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
771
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
772
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "155"], ["created_at", "2015-02-09 20:44:07.429488"], ["updated_at", "2015-02-09 20:44:07.429488"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
773
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
774
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
775
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
776
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
777
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
778
|
-
-----------------------------------------------------------------------
|
779
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0004_anonymous
|
780
|
-
-----------------------------------------------------------------------
|
781
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
782
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
783
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
784
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
785
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "156"], ["created_at", "2015-02-09 20:44:07.434536"], ["updated_at", "2015-02-09 20:44:07.434536"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
786
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
787
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
788
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-09 20:44:07.437223"], ["updated_at", "2015-02-09 20:44:07.437223"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
789
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
790
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
791
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-09 20:44:07.439977"], ["updated_at", "2015-02-09 20:44:07.439977"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
792
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
846
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
847
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
848
|
+
Parameters: {"asset"=>{}}
|
793
849
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
794
|
-
[1m[
|
795
|
-
|
796
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
850
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
851
|
+
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
797
852
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
798
853
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
799
854
|
[1m[35m (0.1ms)[0m BEGIN
|
800
|
-
|
801
|
-
PushType::
|
802
|
-
|
855
|
+
----------------------------------------------------------------------------------------
|
856
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0001_anonymous
|
857
|
+
----------------------------------------------------------------------------------------
|
803
858
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
804
859
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
805
860
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
861
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
862
|
+
Parameters: {"asset"=>{}}
|
806
863
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
807
|
-
[1m[
|
808
|
-
|
809
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
810
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "161"], ["created_at", "2015-02-09 20:44:07.450209"], ["updated_at", "2015-02-09 20:44:07.450209"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
811
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
812
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
813
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "162"], ["created_at", "2015-02-09 20:44:07.453096"], ["updated_at", "2015-02-09 20:44:07.453096"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
814
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
815
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
816
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "163"], ["created_at", "2015-02-09 20:44:07.455603"], ["updated_at", "2015-02-09 20:44:07.455603"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
817
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
818
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
819
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
820
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
821
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
822
|
-
-----------------------------------------------------------------------
|
823
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0001_anonymous
|
824
|
-
-----------------------------------------------------------------------
|
825
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
826
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
827
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
828
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
829
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "164"], ["created_at", "2015-02-09 20:44:07.460949"], ["updated_at", "2015-02-09 20:44:07.460949"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
830
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
831
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
832
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "165"], ["created_at", "2015-02-09 20:44:07.463923"], ["updated_at", "2015-02-09 20:44:07.463923"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
833
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
834
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
835
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "166"], ["created_at", "2015-02-09 20:44:07.466596"], ["updated_at", "2015-02-09 20:44:07.466596"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
836
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
837
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
838
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "167"], ["created_at", "2015-02-09 20:44:07.469173"], ["updated_at", "2015-02-09 20:44:07.469173"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
839
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
840
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
864
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
865
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
841
866
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
842
867
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
843
868
|
[1m[35m (0.1ms)[0m BEGIN
|
844
|
-
|
845
|
-
PushType::
|
846
|
-
|
847
|
-
[1m[36m (0.
|
869
|
+
----------------------------------------------------------------------------------------
|
870
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0003_anonymous
|
871
|
+
----------------------------------------------------------------------------------------
|
872
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
848
873
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
849
874
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
875
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
876
|
+
Parameters: {"asset"=>{}}
|
850
877
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
851
|
-
[1m[
|
852
|
-
|
853
|
-
[1m[
|
854
|
-
[1m[
|
855
|
-
[1m[
|
878
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
879
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
880
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
881
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
882
|
+
[1m[35m (0.1ms)[0m BEGIN
|
883
|
+
-------------------------------------------------------------------------------------
|
884
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0002_anonymous
|
885
|
+
-------------------------------------------------------------------------------------
|
886
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
887
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
888
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
889
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
890
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fc344d86d28 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150222-6309-1s69rn0>>}}
|
856
891
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
857
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "173"], ["created_at", "2015-02-22 15:25:18.984007"], ["updated_at", "2015-02-22 15:25:18.984007"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
858
893
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
859
|
-
|
860
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "171"], ["created_at", "2015-02-09 20:44:07.482236"], ["updated_at", "2015-02-09 20:44:07.482236"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
861
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
862
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
894
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
863
895
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
864
896
|
[1m[35m (0.1ms)[0m ROLLBACK
|
865
897
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
@@ -870,350 +902,318 @@ PushType::WysiwygMediaController::POST #create::with valid asset: test_0001_anon
|
|
870
902
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
871
903
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
872
904
|
Processing by PushType::WysiwygMediaController#create as JSON
|
873
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:
|
905
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fc344affed8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150222-6309-lnv0od>>}}
|
874
906
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
875
|
-
[1m[35mSQL (0.
|
907
|
+
[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", "174"], ["created_at", "2015-02-22 15:25:18.993624"], ["updated_at", "2015-02-22 15:25:18.993624"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
876
908
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
877
909
|
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
878
910
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
879
911
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
880
|
-
[1m[35m (0.
|
912
|
+
[1m[35m (0.1ms)[0m BEGIN
|
881
913
|
-------------------------------------------------------------------------------------
|
882
|
-
PushType::WysiwygMediaController::POST #create::with valid asset:
|
914
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0003_anonymous
|
883
915
|
-------------------------------------------------------------------------------------
|
884
|
-
[1m[36m (0.
|
885
|
-
[1m[35m (0.
|
916
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
917
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
886
918
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
887
919
|
Processing by PushType::WysiwygMediaController#create as JSON
|
888
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:
|
920
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fc344951a78 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150222-6309-66566d>>}}
|
889
921
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
890
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
922
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "175"], ["created_at", "2015-02-22 15:25:19.003120"], ["updated_at", "2015-02-22 15:25:19.003120"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
891
923
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
892
|
-
Completed 200 OK in
|
924
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
893
925
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
894
926
|
[1m[35m (0.1ms)[0m ROLLBACK
|
895
927
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
896
|
-
-------------------------------------------------------------------------------------
|
897
|
-
PushType::WysiwygMediaController::POST #create::with valid asset: test_0003_anonymous
|
898
|
-
-------------------------------------------------------------------------------------
|
899
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
900
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
901
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
902
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
903
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f9fa7a6b8e8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150209-10862-1dii99p>>}}
|
904
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
905
|
-
[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", "174"], ["created_at", "2015-02-09 20:44:07.511261"], ["updated_at", "2015-02-09 20:44:07.511261"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
906
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
907
|
-
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
908
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
909
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
910
|
-
[1m[35m (0.1ms)[0m BEGIN
|
911
928
|
--------------------------------------------------------------------------------------
|
912
|
-
PushType::WysiwygMediaController::GET #index::filtering for files:
|
929
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0003_anonymous
|
913
930
|
--------------------------------------------------------------------------------------
|
914
|
-
[1m[
|
915
|
-
[1m[
|
916
|
-
[1m[
|
917
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
918
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "175"], ["created_at", "2015-02-09 20:44:07.518351"], ["updated_at", "2015-02-09 20:44:07.518351"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
919
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
931
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
932
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
933
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
920
934
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
921
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "176"], ["created_at", "2015-02-
|
935
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "176"], ["created_at", "2015-02-22 15:25:19.010296"], ["updated_at", "2015-02-22 15:25:19.010296"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
922
936
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
923
937
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
924
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-
|
938
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "177"], ["created_at", "2015-02-22 15:25:19.013060"], ["updated_at", "2015-02-22 15:25:19.013060"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
925
939
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
926
940
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
927
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-
|
941
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "178"], ["created_at", "2015-02-22 15:25:19.015476"], ["updated_at", "2015-02-22 15:25:19.015476"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
928
942
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
929
943
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
930
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-
|
944
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "179"], ["created_at", "2015-02-22 15:25:19.017960"], ["updated_at", "2015-02-22 15:25:19.017960"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
931
945
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
932
946
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
933
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
947
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "180"], ["created_at", "2015-02-22 15:25:19.020414"], ["updated_at", "2015-02-22 15:25:19.020414"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
934
948
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
935
949
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
936
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "181"], ["created_at", "2015-02-
|
950
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "181"], ["created_at", "2015-02-22 15:25:19.023005"], ["updated_at", "2015-02-22 15:25:19.023005"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
937
951
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
938
952
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
939
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "182"], ["created_at", "2015-02-
|
953
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "182"], ["created_at", "2015-02-22 15:25:19.050569"], ["updated_at", "2015-02-22 15:25:19.050569"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
940
954
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
941
955
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
942
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "183"], ["created_at", "2015-02-
|
956
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "183"], ["created_at", "2015-02-22 15:25:19.053254"], ["updated_at", "2015-02-22 15:25:19.053254"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
943
957
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
944
958
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "184"], ["created_at", "2015-02-
|
959
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "184"], ["created_at", "2015-02-22 15:25:19.055839"], ["updated_at", "2015-02-22 15:25:19.055839"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
946
960
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
947
961
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "185"], ["created_at", "2015-02-
|
962
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "185"], ["created_at", "2015-02-22 15:25:19.058321"], ["updated_at", "2015-02-22 15:25:19.058321"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
949
963
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
950
964
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "186"], ["created_at", "2015-02-
|
965
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "186"], ["created_at", "2015-02-22 15:25:19.061112"], ["updated_at", "2015-02-22 15:25:19.061112"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
952
966
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
953
967
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "187"], ["created_at", "2015-02-
|
968
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "187"], ["created_at", "2015-02-22 15:25:19.063702"], ["updated_at", "2015-02-22 15:25:19.063702"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
955
969
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
956
970
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "188"], ["created_at", "2015-02-
|
971
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "188"], ["created_at", "2015-02-22 15:25:19.066224"], ["updated_at", "2015-02-22 15:25:19.066224"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
958
972
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
959
973
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "189"], ["created_at", "2015-02-
|
961
|
-
[1m[35m (0.
|
974
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "189"], ["created_at", "2015-02-22 15:25:19.068719"], ["updated_at", "2015-02-22 15:25:19.068719"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
975
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
962
976
|
[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", "190"], ["created_at", "2015-02-
|
977
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "190"], ["created_at", "2015-02-22 15:25:19.071261"], ["updated_at", "2015-02-22 15:25:19.071261"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
964
978
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
965
979
|
[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", "191"], ["created_at", "2015-02-
|
980
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "191"], ["created_at", "2015-02-22 15:25:19.073769"], ["updated_at", "2015-02-22 15:25:19.073769"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
967
981
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
968
982
|
[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", "192"], ["created_at", "2015-02-
|
983
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "192"], ["created_at", "2015-02-22 15:25:19.076269"], ["updated_at", "2015-02-22 15:25:19.076269"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
970
984
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
985
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
986
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "193"], ["created_at", "2015-02-22 15:25:19.079044"], ["updated_at", "2015-02-22 15:25:19.079044"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
987
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
971
988
|
Processing by PushType::WysiwygMediaController#index as JSON
|
972
989
|
Parameters: {"filter"=>"file"}
|
973
|
-
[1m[
|
974
|
-
[1m[
|
975
|
-
Completed 200 OK in
|
976
|
-
[1m[
|
977
|
-
[1m[
|
978
|
-
[1m[
|
990
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
991
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
992
|
+
Completed 200 OK in 13ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
993
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
994
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
995
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
979
996
|
--------------------------------------------------------------------------------------
|
980
997
|
PushType::WysiwygMediaController::GET #index::filtering for files: test_0002_anonymous
|
981
998
|
--------------------------------------------------------------------------------------
|
982
|
-
[1m[
|
983
|
-
[1m[
|
984
|
-
[1m[
|
985
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
986
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-09 20:44:07.592910"], ["updated_at", "2015-02-09 20:44:07.592910"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
987
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
999
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1000
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1001
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
988
1002
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
989
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-
|
1003
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "194"], ["created_at", "2015-02-22 15:25:19.101136"], ["updated_at", "2015-02-22 15:25:19.101136"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
990
1004
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
991
1005
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
992
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-
|
1006
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "195"], ["created_at", "2015-02-22 15:25:19.103869"], ["updated_at", "2015-02-22 15:25:19.103869"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
993
1007
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
994
1008
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
995
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-
|
1009
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "196"], ["created_at", "2015-02-22 15:25:19.106324"], ["updated_at", "2015-02-22 15:25:19.106324"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
996
1010
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
997
1011
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
998
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-
|
1012
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "197"], ["created_at", "2015-02-22 15:25:19.108838"], ["updated_at", "2015-02-22 15:25:19.108838"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
999
1013
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1000
1014
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1001
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1015
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "198"], ["created_at", "2015-02-22 15:25:19.111590"], ["updated_at", "2015-02-22 15:25:19.111590"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1002
1016
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1003
1017
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1004
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "199"], ["created_at", "2015-02-
|
1018
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "199"], ["created_at", "2015-02-22 15:25:19.114180"], ["updated_at", "2015-02-22 15:25:19.114180"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1005
1019
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1006
1020
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1007
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-
|
1021
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "200"], ["created_at", "2015-02-22 15:25:19.116731"], ["updated_at", "2015-02-22 15:25:19.116731"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1008
1022
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1009
1023
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1010
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-
|
1024
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "201"], ["created_at", "2015-02-22 15:25:19.119227"], ["updated_at", "2015-02-22 15:25:19.119227"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1011
1025
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1012
1026
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1013
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-
|
1027
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "202"], ["created_at", "2015-02-22 15:25:19.121937"], ["updated_at", "2015-02-22 15:25:19.121937"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1014
1028
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1015
|
-
[1m[35m (0.
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "203"], ["created_at", "2015-02-
|
1029
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1030
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "203"], ["created_at", "2015-02-22 15:25:19.124424"], ["updated_at", "2015-02-22 15:25:19.124424"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1017
1031
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1018
1032
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "204"], ["created_at", "2015-02-
|
1033
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "204"], ["created_at", "2015-02-22 15:25:19.126999"], ["updated_at", "2015-02-22 15:25:19.126999"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1020
1034
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1021
1035
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "205"], ["created_at", "2015-02-
|
1036
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "205"], ["created_at", "2015-02-22 15:25:19.129584"], ["updated_at", "2015-02-22 15:25:19.129584"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1023
1037
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1024
1038
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "206"], ["created_at", "2015-02-
|
1039
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "206"], ["created_at", "2015-02-22 15:25:19.132409"], ["updated_at", "2015-02-22 15:25:19.132409"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1026
1040
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1027
1041
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "207"], ["created_at", "2015-02-
|
1042
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "207"], ["created_at", "2015-02-22 15:25:19.135191"], ["updated_at", "2015-02-22 15:25:19.135191"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1029
1043
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1030
1044
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1031
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-
|
1045
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "208"], ["created_at", "2015-02-22 15:25:19.137793"], ["updated_at", "2015-02-22 15:25:19.137793"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1032
1046
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1033
1047
|
[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", "209"], ["created_at", "2015-02-
|
1048
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "209"], ["created_at", "2015-02-22 15:25:19.140415"], ["updated_at", "2015-02-22 15:25:19.140415"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1035
1049
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1036
1050
|
[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", "210"], ["created_at", "2015-02-
|
1051
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "210"], ["created_at", "2015-02-22 15:25:19.143182"], ["updated_at", "2015-02-22 15:25:19.143182"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1038
1052
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1053
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1054
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "211"], ["created_at", "2015-02-22 15:25:19.146047"], ["updated_at", "2015-02-22 15:25:19.146047"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1055
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1039
1056
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1040
1057
|
Parameters: {"filter"=>"file"}
|
1041
|
-
[1m[
|
1042
|
-
[1m[
|
1043
|
-
Completed 200 OK in 14ms (Views: 0.8ms | ActiveRecord: 0.
|
1044
|
-
[1m[
|
1045
|
-
[1m[
|
1046
|
-
[1m[
|
1058
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
1059
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
1060
|
+
Completed 200 OK in 14ms (Views: 0.8ms | ActiveRecord: 0.6ms)
|
1061
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1062
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1063
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1047
1064
|
--------------------------------------------------------------------------------------
|
1048
|
-
PushType::WysiwygMediaController::GET #index::filtering for files:
|
1065
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0001_anonymous
|
1049
1066
|
--------------------------------------------------------------------------------------
|
1050
|
-
[1m[
|
1051
|
-
[1m[
|
1052
|
-
[1m[
|
1053
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1054
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "211"], ["created_at", "2015-02-09 20:44:07.659519"], ["updated_at", "2015-02-09 20:44:07.659519"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1055
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1067
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1068
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1069
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1056
1070
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1057
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "212"], ["created_at", "2015-02-
|
1071
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "212"], ["created_at", "2015-02-22 15:25:19.168775"], ["updated_at", "2015-02-22 15:25:19.168775"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1058
1072
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1059
1073
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1060
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "213"], ["created_at", "2015-02-
|
1074
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "213"], ["created_at", "2015-02-22 15:25:19.171434"], ["updated_at", "2015-02-22 15:25:19.171434"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1061
1075
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1062
1076
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1063
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "214"], ["created_at", "2015-02-
|
1077
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "214"], ["created_at", "2015-02-22 15:25:19.173814"], ["updated_at", "2015-02-22 15:25:19.173814"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1064
1078
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1065
1079
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1066
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "215"], ["created_at", "2015-02-
|
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", "215"], ["created_at", "2015-02-22 15:25:19.176394"], ["updated_at", "2015-02-22 15:25:19.176394"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1067
1081
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1068
1082
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1069
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "216"], ["created_at", "2015-02-22 15:25:19.179291"], ["updated_at", "2015-02-22 15:25:19.179291"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1070
1084
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1071
1085
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1072
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "217"], ["created_at", "2015-02-
|
1086
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "217"], ["created_at", "2015-02-22 15:25:19.182080"], ["updated_at", "2015-02-22 15:25:19.182080"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1073
1087
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1074
1088
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1075
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "218"], ["created_at", "2015-02-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "218"], ["created_at", "2015-02-22 15:25:19.184576"], ["updated_at", "2015-02-22 15:25:19.184576"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1076
1090
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1077
1091
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1078
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "219"], ["created_at", "2015-02-
|
1092
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "219"], ["created_at", "2015-02-22 15:25:19.187104"], ["updated_at", "2015-02-22 15:25:19.187104"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1079
1093
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1080
1094
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1081
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "220"], ["created_at", "2015-02-
|
1095
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-22 15:25:19.189676"], ["updated_at", "2015-02-22 15:25:19.189676"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1082
1096
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1083
1097
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1084
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "221"], ["created_at", "2015-02-
|
1098
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-22 15:25:19.192796"], ["updated_at", "2015-02-22 15:25:19.192796"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1085
1099
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1086
1100
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1087
|
-
[1m[35mSQL (0.
|
1101
|
+
[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", "222"], ["created_at", "2015-02-22 15:25:19.195886"], ["updated_at", "2015-02-22 15:25:19.195886"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1088
1102
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1089
1103
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1090
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "223"], ["created_at", "2015-02-
|
1104
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "223"], ["created_at", "2015-02-22 15:25:19.198818"], ["updated_at", "2015-02-22 15:25:19.198818"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1091
1105
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1092
1106
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1093
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-
|
1107
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-22 15:25:19.201663"], ["updated_at", "2015-02-22 15:25:19.201663"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1094
1108
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1095
1109
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1096
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "225"], ["created_at", "2015-02-
|
1110
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-22 15:25:19.204585"], ["updated_at", "2015-02-22 15:25:19.204585"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1097
1111
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1098
1112
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1099
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-
|
1113
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "226"], ["created_at", "2015-02-22 15:25:19.207297"], ["updated_at", "2015-02-22 15:25:19.207297"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1100
1114
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1101
1115
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1102
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "227"], ["created_at", "2015-02-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "227"], ["created_at", "2015-02-22 15:25:19.209995"], ["updated_at", "2015-02-22 15:25:19.209995"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1103
1117
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1104
1118
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1105
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "228"], ["created_at", "2015-02-
|
1119
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "228"], ["created_at", "2015-02-22 15:25:19.213054"], ["updated_at", "2015-02-22 15:25:19.213054"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1106
1120
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1121
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1122
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "229"], ["created_at", "2015-02-22 15:25:19.215916"], ["updated_at", "2015-02-22 15:25:19.215916"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1123
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1107
1124
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1108
1125
|
Parameters: {"filter"=>"file"}
|
1109
|
-
[1m[
|
1110
|
-
[1m[
|
1111
|
-
Completed 200 OK in 13ms (Views: 0.
|
1112
|
-
[1m[
|
1113
|
-
[1m[
|
1114
|
-
[1m[
|
1126
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
1127
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
1128
|
+
Completed 200 OK in 13ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
1129
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1130
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1131
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1115
1132
|
--------------------------------------------------------------------------------------
|
1116
|
-
PushType::WysiwygMediaController::GET #index::filtering for files:
|
1133
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0004_anonymous
|
1117
1134
|
--------------------------------------------------------------------------------------
|
1118
|
-
[1m[
|
1119
|
-
[1m[
|
1120
|
-
[1m[
|
1121
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1122
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "229"], ["created_at", "2015-02-09 20:44:07.724519"], ["updated_at", "2015-02-09 20:44:07.724519"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1123
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1135
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1136
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1137
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1124
1138
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1125
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "230"], ["created_at", "2015-02-
|
1139
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "230"], ["created_at", "2015-02-22 15:25:19.236387"], ["updated_at", "2015-02-22 15:25:19.236387"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1126
1140
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1127
1141
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1128
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "231"], ["created_at", "2015-02-
|
1142
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "231"], ["created_at", "2015-02-22 15:25:19.238929"], ["updated_at", "2015-02-22 15:25:19.238929"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1129
1143
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1130
1144
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1131
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "232"], ["created_at", "2015-02-
|
1145
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-22 15:25:19.241292"], ["updated_at", "2015-02-22 15:25:19.241292"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1132
1146
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1133
1147
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1134
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "233"], ["created_at", "2015-02-
|
1148
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "233"], ["created_at", "2015-02-22 15:25:19.243580"], ["updated_at", "2015-02-22 15:25:19.243580"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1135
1149
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1136
1150
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1137
|
-
[1m[35mSQL (0.
|
1151
|
+
[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", "234"], ["created_at", "2015-02-22 15:25:19.246185"], ["updated_at", "2015-02-22 15:25:19.246185"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1138
1152
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1139
1153
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1140
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "235"], ["created_at", "2015-02-
|
1154
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "235"], ["created_at", "2015-02-22 15:25:19.249222"], ["updated_at", "2015-02-22 15:25:19.249222"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1141
1155
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1142
1156
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1143
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "236"], ["created_at", "2015-02-
|
1157
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-22 15:25:19.251659"], ["updated_at", "2015-02-22 15:25:19.251659"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1144
1158
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1145
1159
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1146
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "237"], ["created_at", "2015-02-
|
1160
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-22 15:25:19.253992"], ["updated_at", "2015-02-22 15:25:19.253992"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1147
1161
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1148
1162
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1149
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "238"], ["created_at", "2015-02-
|
1163
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-22 15:25:19.256420"], ["updated_at", "2015-02-22 15:25:19.256420"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1150
1164
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1151
1165
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1152
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "239"], ["created_at", "2015-02-
|
1166
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-22 15:25:19.258901"], ["updated_at", "2015-02-22 15:25:19.258901"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1153
1167
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1154
1168
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1155
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "240"], ["created_at", "2015-02-
|
1169
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-22 15:25:19.261458"], ["updated_at", "2015-02-22 15:25:19.261458"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1156
1170
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1157
1171
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1158
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "241"], ["created_at", "2015-02-
|
1172
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "241"], ["created_at", "2015-02-22 15:25:19.263905"], ["updated_at", "2015-02-22 15:25:19.263905"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1159
1173
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1160
1174
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1161
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "242"], ["created_at", "2015-02-
|
1175
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "242"], ["created_at", "2015-02-22 15:25:19.266307"], ["updated_at", "2015-02-22 15:25:19.266307"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1162
1176
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1163
1177
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1164
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "243"], ["created_at", "2015-02-
|
1178
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "243"], ["created_at", "2015-02-22 15:25:19.268786"], ["updated_at", "2015-02-22 15:25:19.268786"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1165
1179
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1166
1180
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1167
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "244"], ["created_at", "2015-02-
|
1181
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "244"], ["created_at", "2015-02-22 15:25:19.271552"], ["updated_at", "2015-02-22 15:25:19.271552"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1168
1182
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1169
|
-
[1m[35m (0.
|
1170
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "245"], ["created_at", "2015-02-
|
1183
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1184
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "245"], ["created_at", "2015-02-22 15:25:19.274041"], ["updated_at", "2015-02-22 15:25:19.274041"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1171
1185
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1172
1186
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "246"], ["created_at", "2015-02-
|
1187
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "246"], ["created_at", "2015-02-22 15:25:19.276467"], ["updated_at", "2015-02-22 15:25:19.276467"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1174
1188
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1189
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1190
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "247"], ["created_at", "2015-02-22 15:25:19.279003"], ["updated_at", "2015-02-22 15:25:19.279003"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1191
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1175
1192
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1176
1193
|
Parameters: {"filter"=>"file"}
|
1177
|
-
[1m[
|
1178
|
-
[1m[
|
1179
|
-
Completed 200 OK in 13ms (Views: 0.
|
1180
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1181
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1182
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1183
|
-
--------------------------------------------------------------------------------
|
1184
|
-
PushType::WysiwygMediaController::POST #create::asset count: test_0001_anonymous
|
1185
|
-
--------------------------------------------------------------------------------
|
1186
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1187
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1188
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1189
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1190
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1191
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f9fa7eead88 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150209-10862-xiqlxe>>}}
|
1192
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1193
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "247"], ["created_at", "2015-02-09 20:44:07.821028"], ["updated_at", "2015-02-09 20:44:07.821028"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1194
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1195
|
-
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1196
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1194
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
1195
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
1196
|
+
Completed 200 OK in 13ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
1197
1197
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1198
1198
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1199
1199
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1200
1200
|
-----------------------------------------------------------------------
|
1201
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash:
|
1201
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0005_anonymous
|
1202
1202
|
-----------------------------------------------------------------------
|
1203
1203
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1204
1204
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1205
1205
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1206
1206
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1207
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "248"], ["created_at", "2015-02-
|
1207
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "248"], ["created_at", "2015-02-22 15:25:19.300570"], ["updated_at", "2015-02-22 15:25:19.300570"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1208
1208
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1209
1209
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1210
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "249"], ["created_at", "2015-02-
|
1210
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "249"], ["created_at", "2015-02-22 15:25:19.303084"], ["updated_at", "2015-02-22 15:25:19.303084"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1211
1211
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1212
1212
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1213
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "250"], ["created_at", "2015-02-
|
1213
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "250"], ["created_at", "2015-02-22 15:25:19.305390"], ["updated_at", "2015-02-22 15:25:19.305390"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1214
1214
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1215
1215
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1216
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "251"], ["created_at", "2015-02-
|
1216
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "251"], ["created_at", "2015-02-22 15:25:19.307739"], ["updated_at", "2015-02-22 15:25:19.307739"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1217
1217
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1218
1218
|
[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
|
1219
1219
|
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
@@ -1223,20 +1223,20 @@ PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0004_anonymous
|
|
1223
1223
|
-----------------------------------------------------------------------
|
1224
1224
|
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0002_anonymous
|
1225
1225
|
-----------------------------------------------------------------------
|
1226
|
-
[1m[35m (0.
|
1227
|
-
[1m[36m (0.
|
1226
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1227
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1228
1228
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1229
1229
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1230
|
-
[1m[35mSQL (0.
|
1230
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02-22 15:25:19.317462"], ["updated_at", "2015-02-22 15:25:19.317462"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1231
1231
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1232
1232
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1233
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-
|
1233
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02-22 15:25:19.319971"], ["updated_at", "2015-02-22 15:25:19.319971"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1234
1234
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1235
1235
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1236
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "254"], ["created_at", "2015-02-
|
1236
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "254"], ["created_at", "2015-02-22 15:25:19.322423"], ["updated_at", "2015-02-22 15:25:19.322423"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1237
1237
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1238
1238
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "255"], ["created_at", "2015-02-
|
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", "255"], ["created_at", "2015-02-22 15:25:19.324697"], ["updated_at", "2015-02-22 15:25:19.324697"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1240
1240
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1241
1241
|
[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
|
1242
1242
|
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
@@ -1244,22 +1244,22 @@ PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0002_anonymous
|
|
1244
1244
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1245
1245
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1246
1246
|
-----------------------------------------------------------------------
|
1247
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash:
|
1247
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0003_anonymous
|
1248
1248
|
-----------------------------------------------------------------------
|
1249
|
-
[1m[35m (0.
|
1249
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1250
1250
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1251
1251
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1252
1252
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1253
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "256"], ["created_at", "2015-02-
|
1253
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "256"], ["created_at", "2015-02-22 15:25:19.334591"], ["updated_at", "2015-02-22 15:25:19.334591"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1254
1254
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1255
1255
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1256
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "257"], ["created_at", "2015-02-
|
1256
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "257"], ["created_at", "2015-02-22 15:25:19.337134"], ["updated_at", "2015-02-22 15:25:19.337134"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1257
1257
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1258
1258
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1259
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "258"], ["created_at", "2015-02-
|
1259
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "258"], ["created_at", "2015-02-22 15:25:19.339656"], ["updated_at", "2015-02-22 15:25:19.339656"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1260
1260
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1261
1261
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1262
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "259"], ["created_at", "2015-02-
|
1262
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "259"], ["created_at", "2015-02-22 15:25:19.341959"], ["updated_at", "2015-02-22 15:25:19.341959"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1263
1263
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1264
1264
|
[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
|
1265
1265
|
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
@@ -1267,47 +1267,47 @@ PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0005_anonymous
|
|
1267
1267
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1268
1268
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1269
1269
|
-----------------------------------------------------------------------
|
1270
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash:
|
1270
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0004_anonymous
|
1271
1271
|
-----------------------------------------------------------------------
|
1272
1272
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1273
1273
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1274
|
-
[1m[35m (0.
|
1274
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1275
1275
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1276
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "260"], ["created_at", "2015-02-
|
1276
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "260"], ["created_at", "2015-02-22 15:25:19.351788"], ["updated_at", "2015-02-22 15:25:19.351788"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1277
1277
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1278
1278
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1279
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "261"], ["created_at", "2015-02-
|
1279
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "261"], ["created_at", "2015-02-22 15:25:19.354416"], ["updated_at", "2015-02-22 15:25:19.354416"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1280
1280
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1281
1281
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1282
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "262"], ["created_at", "2015-02-
|
1282
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "262"], ["created_at", "2015-02-22 15:25:19.356806"], ["updated_at", "2015-02-22 15:25:19.356806"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1283
1283
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1284
1284
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1285
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "263"], ["created_at", "2015-02-
|
1285
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "263"], ["created_at", "2015-02-22 15:25:19.359240"], ["updated_at", "2015-02-22 15:25:19.359240"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1286
1286
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1287
1287
|
[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
|
1288
|
-
[1m[35m (0.
|
1288
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1289
1289
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1290
1290
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1291
1291
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1292
1292
|
-----------------------------------------------------------------------
|
1293
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash:
|
1293
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0001_anonymous
|
1294
1294
|
-----------------------------------------------------------------------
|
1295
|
-
[1m[35m (0.
|
1296
|
-
[1m[36m (0.
|
1297
|
-
[1m[35m (0.
|
1295
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1296
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1297
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1298
1298
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1299
|
-
[1m[35mSQL (0.
|
1299
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "264"], ["created_at", "2015-02-22 15:25:19.368615"], ["updated_at", "2015-02-22 15:25:19.368615"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1300
1300
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1301
1301
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1302
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "265"], ["created_at", "2015-02-
|
1302
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "265"], ["created_at", "2015-02-22 15:25:19.371214"], ["updated_at", "2015-02-22 15:25:19.371214"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1303
1303
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1304
1304
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1305
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "266"], ["created_at", "2015-02-
|
1305
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "266"], ["created_at", "2015-02-22 15:25:19.373715"], ["updated_at", "2015-02-22 15:25:19.373715"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1306
1306
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1307
1307
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1308
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "267"], ["created_at", "2015-02-
|
1308
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "267"], ["created_at", "2015-02-22 15:25:19.376085"], ["updated_at", "2015-02-22 15:25:19.376085"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1309
1309
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1310
|
-
[1m[36mPushType::Asset Load (0.
|
1310
|
+
[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
|
1311
1311
|
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1312
1312
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1313
1313
|
[1m[35m (0.1ms)[0m ROLLBACK
|