s3_relay 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/s3_relay/uploads_controller.rb +2 -2
- data/lib/s3_relay/version.rb +1 -1
- data/test/dummy/log/test.log +345 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f7808fa908073f00317199da6e43b9821c7d827
|
4
|
+
data.tar.gz: 896e7707ba3031b0a5074bf1322d8c62ffc715f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65db04a3d352ff2dee8d812450eb20f2065c8cc1c727dc8c278dc914c0a08879038241d96e6371414a0211d25c0f0e4177cf227e82492b666c604a9dc5f1b57a
|
7
|
+
data.tar.gz: 10239435d5ca2a5df99b4bf963ced838f2fd3561b03cfa2f5ec6941809575eab7cbcdfc93a257a9a0417d52c607738294a937ad3b9336ffdbfe10e46374a9aca
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class S3Relay::UploadsController < ApplicationController
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
before_action :authenticate
|
4
|
+
skip_before_action :verify_authenticity_token
|
5
5
|
|
6
6
|
def new
|
7
7
|
render json: S3Relay::UploadPresigner.new.form_data
|
data/lib/s3_relay/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -641,3 +641,348 @@ Processing by S3Relay::UploadsController#create as HTML
|
|
641
641
|
Completed 201 Created in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
642
642
|
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "s3_relay_uploads"
|
643
643
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
644
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
645
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "s3_relay_uploads" DISABLE TRIGGER ALL
|
646
|
+
[1m[36m (0.9ms)[0m [1mselect table_name from information_schema.views where table_schema = 's3_relay_test'[0m
|
647
|
+
[1m[35m (9.5ms)[0m TRUNCATE TABLE "ar_internal_metadata", "products", "s3_relay_uploads" RESTART IDENTITY CASCADE;
|
648
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "s3_relay_uploads" ENABLE TRIGGER ALL[0m
|
649
|
+
[1m[35m (0.2ms)[0m BEGIN
|
650
|
+
-------------------------------------------------------------------
|
651
|
+
S3Relay::UploadsController::POST create::error: test_0001_anonymous
|
652
|
+
-------------------------------------------------------------------
|
653
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "s3_relay_uploads"[0m
|
654
|
+
Processing by S3Relay::UploadsController#create as HTML
|
655
|
+
Parameters: {"uuid"=>"5fb67309-12b1-4abb-bd45-edcaa78eeba2", "filename"=>"cat.png", "content_type"=>"image/png"}
|
656
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
657
|
+
[1m[36mS3Relay::Upload Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
658
|
+
:value: 5fb67309-12b1-4abb-bd45-edcaa78eeba2
|
659
|
+
:format: 1
|
660
|
+
' LIMIT 1[0m
|
661
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
662
|
+
Completed 422 Unprocessable Entity in 26ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
663
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "s3_relay_uploads"[0m
|
664
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
665
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
666
|
+
[1m[35m (0.1ms)[0m COMMIT
|
667
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
668
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
669
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "products" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2016-12-30 07:06:22.367700"], ["name", "Flux Capacitor"], ["updated_at", "2016-12-30 07:06:22.367700"]]
|
670
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
671
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
672
|
+
[1m[35mS3Relay::Upload Exists (0.2ms)[0m SELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
673
|
+
:value: a7c0133c-3182-4f79-a1a5-4eb1276e28d2
|
674
|
+
:format: 1
|
675
|
+
' LIMIT 1
|
676
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "s3_relay_uploads" ("content_type", "created_at", "data", "filename", "parent_id", "parent_type", "pending_at", "state", "updated_at", "upload_type", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id"[0m [["content_type", "image/png"], ["created_at", "2016-12-30 07:06:22.375464"], ["data", "{}"], ["filename", "cat.png"], ["parent_id", 1], ["parent_type", "Product"], ["pending_at", "2016-12-30 07:06:22.370188"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.375464"], ["upload_type", "IconUpload"], ["uuid", "<36 bytes of binary data>"]]
|
677
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
678
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
679
|
+
[1m[35mS3Relay::Upload Exists (0.2ms)[0m SELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
680
|
+
:value: a7c0133c-3182-4f79-a1a5-4eb1276e28d2
|
681
|
+
:format: 1
|
682
|
+
' LIMIT 1
|
683
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "s3_relay_uploads" ("content_type", "created_at", "data", "filename", "parent_id", "parent_type", "pending_at", "state", "updated_at", "upload_type", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id"[0m [["content_type", "image/png"], ["created_at", "2016-12-30 07:06:22.379096"], ["data", "{}"], ["filename", "cat.png"], ["parent_id", 1], ["parent_type", "Product"], ["pending_at", "2016-12-30 07:06:22.377637"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.379096"], ["upload_type", "PhotoUpload"], ["uuid", "<36 bytes of binary data>"]]
|
684
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
685
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
686
|
+
[1m[35mS3Relay::Upload Exists (0.2ms)[0m SELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
687
|
+
:value: a7c0133c-3182-4f79-a1a5-4eb1276e28d2
|
688
|
+
:format: 1
|
689
|
+
' LIMIT 1
|
690
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "s3_relay_uploads" ("content_type", "created_at", "data", "filename", "parent_id", "parent_type", "pending_at", "state", "updated_at", "upload_type", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id"[0m [["content_type", "image/png"], ["created_at", "2016-12-30 07:06:22.382026"], ["data", "{}"], ["filename", "cat.png"], ["parent_id", 1], ["parent_type", "Product"], ["pending_at", "2016-12-30 07:06:22.380642"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.382026"], ["upload_type", "PhotoUpload"], ["uuid", "<36 bytes of binary data>"]]
|
691
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
692
|
+
[1m[36mS3Relay::Upload Load (0.6ms)[0m [1mSELECT "s3_relay_uploads".* FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."parent_type" = 'Product' AND "s3_relay_uploads"."parent_id" = 1 AND "s3_relay_uploads"."upload_type" = 'IconUpload' ORDER BY pending_at ASC LIMIT 1[0m
|
693
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
694
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
695
|
+
------------------------------------------------------------------------------------------
|
696
|
+
S3Relay::UploadsHelper::#s3_relay_field::with disposition: attachment: test_0001_anonymous
|
697
|
+
------------------------------------------------------------------------------------------
|
698
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
699
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2016-12-30 07:06:22.389932"], ["name", "Flux Capacitor"], ["updated_at", "2016-12-30 07:06:22.389932"]]
|
700
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
701
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
702
|
+
[1m[35m (0.1ms)[0m BEGIN
|
703
|
+
-----------------------------------------------------------------------
|
704
|
+
S3Relay::Upload::validations::upload_type: test_0001_validates presence
|
705
|
+
-----------------------------------------------------------------------
|
706
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" IS NULL LIMIT 1[0m
|
707
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
708
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
709
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
710
|
+
S3Relay::UploadsController::POST create::success::with parent attributes::with a current_user: test_0001_associates the upload with the user
|
711
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
712
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "s3_relay_uploads"
|
713
|
+
Processing by S3Relay::UploadsController#create as HTML
|
714
|
+
Parameters: {"association"=>"photo_uploads", "uuid"=>"eb4ec2ad-917c-46cd-a1f2-f7ebd02e3372", "filename"=>"cat.png", "content_type"=>"image/png"}
|
715
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
716
|
+
[1m[35mS3Relay::Upload Exists (0.2ms)[0m SELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
717
|
+
:value: eb4ec2ad-917c-46cd-a1f2-f7ebd02e3372
|
718
|
+
:format: 1
|
719
|
+
' LIMIT 1
|
720
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "s3_relay_uploads" ("content_type", "created_at", "data", "filename", "pending_at", "state", "updated_at", "upload_type", "user_id", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["content_type", "image/png"], ["created_at", "2016-12-30 07:06:22.403899"], ["data", "{}"], ["filename", "cat.png"], ["pending_at", "2016-12-30 07:06:22.402479"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.403899"], ["upload_type", "PhotoUpload"], ["user_id", 123], ["uuid", "<36 bytes of binary data>"]]
|
721
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
722
|
+
Completed 201 Created in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
723
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "s3_relay_uploads"[0m
|
724
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
725
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
726
|
+
--------------------------------------------------------
|
727
|
+
S3Relay::UploadsController::GET new: test_0001_anonymous
|
728
|
+
--------------------------------------------------------
|
729
|
+
Processing by S3Relay::UploadsController#new as HTML
|
730
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
731
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
732
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
733
|
+
----------------------------------------------------------------------
|
734
|
+
S3Relay::Upload::validations::pending_at: test_0001_validates presence
|
735
|
+
----------------------------------------------------------------------
|
736
|
+
[1m[35mS3Relay::Upload Exists (0.2ms)[0m SELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" IS NULL LIMIT 1
|
737
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
738
|
+
[1m[35m (0.1ms)[0m BEGIN
|
739
|
+
-----------------------------------------------------------------------------------------------------------------
|
740
|
+
S3Relay::UploadsController::POST create::success::with parent attributes::matching an object: test_0001_anonymous
|
741
|
+
-----------------------------------------------------------------------------------------------------------------
|
742
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
743
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-12-30 07:06:22.422753"], ["name", "Flux Capacitor"], ["updated_at", "2016-12-30 07:06:22.422753"]]
|
744
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
745
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."parent_type" = 'Product' AND "s3_relay_uploads"."parent_id" = 3 AND "s3_relay_uploads"."upload_type" = 'PhotoUpload'
|
746
|
+
Processing by S3Relay::UploadsController#create as HTML
|
747
|
+
Parameters: {"association"=>"photo_uploads", "uuid"=>"596ed5c9-b7d1-48ea-83bc-dcdb0d96a21f", "filename"=>"cat.png", "content_type"=>"image/png", "parent_type"=>"Product", "parent_id"=>"3"}
|
748
|
+
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 LIMIT 1[0m
|
749
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
750
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
751
|
+
:value: 596ed5c9-b7d1-48ea-83bc-dcdb0d96a21f
|
752
|
+
:format: 1
|
753
|
+
' LIMIT 1[0m
|
754
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "s3_relay_uploads" ("content_type", "created_at", "data", "filename", "parent_id", "parent_type", "pending_at", "state", "updated_at", "upload_type", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["content_type", "image/png"], ["created_at", "2016-12-30 07:06:22.429364"], ["data", "{}"], ["filename", "cat.png"], ["parent_id", 3], ["parent_type", "Product"], ["pending_at", "2016-12-30 07:06:22.427662"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.429364"], ["upload_type", "PhotoUpload"], ["uuid", "<36 bytes of binary data>"]]
|
755
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
756
|
+
Completed 201 Created in 5ms (Views: 0.2ms | ActiveRecord: 0.8ms)
|
757
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."parent_type" = 'Product' AND "s3_relay_uploads"."parent_id" = 3 AND "s3_relay_uploads"."upload_type" = 'PhotoUpload'
|
758
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
759
|
+
[1m[35m (0.1ms)[0m BEGIN
|
760
|
+
-----------------------------------------------------
|
761
|
+
S3Relay::Upload::scopes::pending: test_0001_anonymous
|
762
|
+
-----------------------------------------------------
|
763
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
764
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "s3_relay_uploads" ("created_at", "data", "pending_at", "state", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-12-30 07:06:22.434385"], ["data", "{}"], ["pending_at", "2016-12-30 07:06:22.434073"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.434385"]]
|
765
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
766
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
767
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "s3_relay_uploads" ("created_at", "data", "pending_at", "state", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2016-12-30 07:06:22.436014"], ["data", "{}"], ["pending_at", "2016-12-30 07:06:22.435765"], ["state", "imported"], ["updated_at", "2016-12-30 07:06:22.436014"]]
|
768
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
769
|
+
[1m[36mS3Relay::Upload Load (0.2ms)[0m [1mSELECT "s3_relay_uploads".* FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."state" = 'pending'[0m
|
770
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
771
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
772
|
+
-----------------------------------------------------------------------------------
|
773
|
+
S3Relay::Upload::#notify_parent::when the parent is associated: test_0001_anonymous
|
774
|
+
-----------------------------------------------------------------------------------
|
775
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
776
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2016-12-30 07:06:22.440751"], ["name", "Flux Capacitor"], ["updated_at", "2016-12-30 07:06:22.440751"]]
|
777
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
778
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
779
|
+
[1m[35mS3Relay::Upload Exists (0.2ms)[0m SELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
780
|
+
:value: a7c0133c-3182-4f79-a1a5-4eb1276e28d2
|
781
|
+
:format: 1
|
782
|
+
' LIMIT 1
|
783
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "s3_relay_uploads" ("content_type", "created_at", "data", "filename", "parent_id", "parent_type", "pending_at", "state", "updated_at", "upload_type", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id"[0m [["content_type", "image/png"], ["created_at", "2016-12-30 07:06:22.443534"], ["data", "{}"], ["filename", "cat.png"], ["parent_id", 4], ["parent_type", "Product"], ["pending_at", "2016-12-30 07:06:22.440076"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.443534"], ["upload_type", "FileUpload"], ["uuid", "<36 bytes of binary data>"]]
|
784
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
785
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
786
|
+
[1m[35m (0.1ms)[0m BEGIN
|
787
|
+
--------------------------------------------------
|
788
|
+
S3Relay::Upload::#private_url: test_0001_anonymous
|
789
|
+
--------------------------------------------------
|
790
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
791
|
+
[1m[35m (0.1ms)[0m BEGIN
|
792
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
793
|
+
[1m[35m (0.1ms)[0m BEGIN
|
794
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
795
|
+
[1m[35m (0.1ms)[0m BEGIN
|
796
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
797
|
+
[1m[35m (0.1ms)[0m BEGIN
|
798
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
799
|
+
[1m[35m (0.1ms)[0m BEGIN
|
800
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
801
|
+
[1m[35m (0.1ms)[0m BEGIN
|
802
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
803
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-12-30 07:06:22.452610"], ["name", "Flux Capacitor"], ["updated_at", "2016-12-30 07:06:22.452610"]]
|
804
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
805
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
806
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
807
|
+
:value: a7c0133c-3182-4f79-a1a5-4eb1276e28d2
|
808
|
+
:format: 1
|
809
|
+
' LIMIT 1[0m
|
810
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "s3_relay_uploads" ("content_type", "created_at", "data", "filename", "parent_id", "parent_type", "pending_at", "state", "updated_at", "upload_type", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["content_type", "image/png"], ["created_at", "2016-12-30 07:06:22.455599"], ["data", "{}"], ["filename", "cat.png"], ["parent_id", 5], ["parent_type", "Product"], ["pending_at", "2016-12-30 07:06:22.454031"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.455599"], ["upload_type", "IconUpload"], ["uuid", "<36 bytes of binary data>"]]
|
811
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
812
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
813
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
814
|
+
:value: a7c0133c-3182-4f79-a1a5-4eb1276e28d2
|
815
|
+
:format: 1
|
816
|
+
' LIMIT 1[0m
|
817
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "s3_relay_uploads" ("content_type", "created_at", "data", "filename", "parent_id", "parent_type", "pending_at", "state", "updated_at", "upload_type", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["content_type", "image/png"], ["created_at", "2016-12-30 07:06:22.458536"], ["data", "{}"], ["filename", "cat.png"], ["parent_id", 5], ["parent_type", "Product"], ["pending_at", "2016-12-30 07:06:22.457100"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.458536"], ["upload_type", "PhotoUpload"], ["uuid", "<36 bytes of binary data>"]]
|
818
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
819
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
820
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
821
|
+
:value: a7c0133c-3182-4f79-a1a5-4eb1276e28d2
|
822
|
+
:format: 1
|
823
|
+
' LIMIT 1[0m
|
824
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "s3_relay_uploads" ("content_type", "created_at", "data", "filename", "parent_id", "parent_type", "pending_at", "state", "updated_at", "upload_type", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["content_type", "image/png"], ["created_at", "2016-12-30 07:06:22.461628"], ["data", "{}"], ["filename", "cat.png"], ["parent_id", 5], ["parent_type", "Product"], ["pending_at", "2016-12-30 07:06:22.460071"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.461628"], ["upload_type", "PhotoUpload"], ["uuid", "<36 bytes of binary data>"]]
|
825
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
826
|
+
[1m[35m (0.2ms)[0m SELECT "s3_relay_uploads"."id" FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."parent_type" = 'Product' AND "s3_relay_uploads"."parent_id" = 5 AND "s3_relay_uploads"."upload_type" = 'PhotoUpload'
|
827
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
828
|
+
[1m[35m (0.1ms)[0m BEGIN
|
829
|
+
-----------------------------------------------
|
830
|
+
S3Relay::Upload::#imported: test_0001_anonymous
|
831
|
+
-----------------------------------------------
|
832
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
833
|
+
[1m[35m (0.1ms)[0m BEGIN
|
834
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
835
|
+
[1m[35m (0.1ms)[0m BEGIN
|
836
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
837
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-12-30 07:06:22.467945"], ["name", "Flux Capacitor"], ["updated_at", "2016-12-30 07:06:22.467945"]]
|
838
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
839
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
840
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
841
|
+
:value: a7c0133c-3182-4f79-a1a5-4eb1276e28d2
|
842
|
+
:format: 1
|
843
|
+
' LIMIT 1[0m
|
844
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "s3_relay_uploads" ("content_type", "created_at", "data", "filename", "pending_at", "state", "updated_at", "upload_type", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["content_type", "image/png"], ["created_at", "2016-12-30 07:06:22.470639"], ["data", "{}"], ["filename", "cat.png"], ["pending_at", "2016-12-30 07:06:22.469260"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.470639"], ["upload_type", "IconUpload"], ["uuid", "<36 bytes of binary data>"]]
|
845
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
846
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
847
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
848
|
+
:value: a7c0133c-3182-4f79-a1a5-4eb1276e28d2
|
849
|
+
:format: 1
|
850
|
+
' LIMIT 1[0m
|
851
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "s3_relay_uploads" ("content_type", "created_at", "data", "filename", "pending_at", "state", "updated_at", "upload_type", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["content_type", "image/png"], ["created_at", "2016-12-30 07:06:22.473469"], ["data", "{}"], ["filename", "cat.png"], ["pending_at", "2016-12-30 07:06:22.472182"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.473469"], ["upload_type", "PhotoUpload"], ["uuid", "<36 bytes of binary data>"]]
|
852
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
853
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
854
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
855
|
+
:value: a7c0133c-3182-4f79-a1a5-4eb1276e28d2
|
856
|
+
:format: 1
|
857
|
+
' LIMIT 1[0m
|
858
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "s3_relay_uploads" ("content_type", "created_at", "data", "filename", "pending_at", "state", "updated_at", "upload_type", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["content_type", "image/png"], ["created_at", "2016-12-30 07:06:22.476073"], ["data", "{}"], ["filename", "cat.png"], ["pending_at", "2016-12-30 07:06:22.474875"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.476073"], ["upload_type", "PhotoUpload"], ["uuid", "<36 bytes of binary data>"]]
|
859
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
860
|
+
[1m[35mS3Relay::Upload Load (0.2ms)[0m SELECT "s3_relay_uploads".* FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."parent_type" = 'Product' AND "s3_relay_uploads"."parent_id" = 6 AND "s3_relay_uploads"."upload_type" = 'PhotoUpload'
|
861
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "s3_relay_uploads" SET "parent_type" = 'Product', "parent_id" = 6 WHERE "s3_relay_uploads"."uuid" IN ('a7c0133c-3182-4f79-a1a5-4eb1276e28d2', 'a7c0133c-3182-4f79-a1a5-4eb1276e28d2') AND "s3_relay_uploads"."upload_type" = 'PhotoUpload'[0m
|
862
|
+
[1m[35mS3Relay::Upload Load (0.2ms)[0m SELECT "s3_relay_uploads".* FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."parent_type" = 'Product' AND "s3_relay_uploads"."parent_id" = 6 AND "s3_relay_uploads"."upload_type" = 'PhotoUpload'
|
863
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
864
|
+
[1m[35m (0.1ms)[0m BEGIN
|
865
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
866
|
+
[1m[35m (0.1ms)[0m BEGIN
|
867
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
868
|
+
[1m[35m (0.1ms)[0m BEGIN
|
869
|
+
-----------------------------------------------
|
870
|
+
S3Relay::Upload::#pending?: test_0001_anonymous
|
871
|
+
-----------------------------------------------
|
872
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
873
|
+
[1m[35m (0.1ms)[0m BEGIN
|
874
|
+
--------------------------------------------------------------------
|
875
|
+
S3Relay::Upload::validations::filename: test_0001_validates presence
|
876
|
+
--------------------------------------------------------------------
|
877
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" IS NULL LIMIT 1[0m
|
878
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
879
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
880
|
+
[1m[35m (0.1ms)[0m COMMIT
|
881
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
882
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
883
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
884
|
+
---------------------------------------------------------------------------------
|
885
|
+
S3Relay::UploadsHelper::#s3_relay_field::with multiple: true: test_0001_anonymous
|
886
|
+
---------------------------------------------------------------------------------
|
887
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
888
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2016-12-30 07:06:22.492146"], ["name", "Flux Capacitor"], ["updated_at", "2016-12-30 07:06:22.492146"]]
|
889
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
890
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
891
|
+
[1m[35m (0.1ms)[0m BEGIN
|
892
|
+
---------------------------------------------------------------------
|
893
|
+
S3Relay::UploadsController::POST create::success: test_0001_anonymous
|
894
|
+
---------------------------------------------------------------------
|
895
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "s3_relay_uploads"[0m
|
896
|
+
Processing by S3Relay::UploadsController#create as HTML
|
897
|
+
Parameters: {"association"=>"photo_uploads", "uuid"=>"b297276c-e024-4391-a5a5-b71fc5199c25", "filename"=>"cat.png", "content_type"=>"image/png"}
|
898
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
899
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
900
|
+
:value: b297276c-e024-4391-a5a5-b71fc5199c25
|
901
|
+
:format: 1
|
902
|
+
' LIMIT 1[0m
|
903
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "s3_relay_uploads" ("content_type", "created_at", "data", "filename", "pending_at", "state", "updated_at", "upload_type", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["content_type", "image/png"], ["created_at", "2016-12-30 07:06:22.501753"], ["data", "{}"], ["filename", "cat.png"], ["pending_at", "2016-12-30 07:06:22.500393"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.501753"], ["upload_type", "PhotoUpload"], ["uuid", "<36 bytes of binary data>"]]
|
904
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
905
|
+
Completed 201 Created in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
906
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "s3_relay_uploads"
|
907
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
908
|
+
[1m[35m (0.1ms)[0m BEGIN
|
909
|
+
----------------------------------------------------------------
|
910
|
+
S3Relay::Upload::validations::uuid: test_0001_validates presence
|
911
|
+
----------------------------------------------------------------
|
912
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" IS NULL LIMIT 1[0m
|
913
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
914
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
915
|
+
------------------------------------------------------------------
|
916
|
+
S3Relay::Upload::validations::uuid: test_0002_validates uniqueness
|
917
|
+
------------------------------------------------------------------
|
918
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
919
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "s3_relay_uploads" ("created_at", "data", "pending_at", "state", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2016-12-30 07:06:22.509229"], ["data", "{}"], ["pending_at", "2016-12-30 07:06:22.508956"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.509229"]]
|
920
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
921
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" IS NULL LIMIT 1[0m
|
922
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
923
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
924
|
+
------------------------------------------------------
|
925
|
+
S3Relay::Upload::scopes::imported: test_0001_anonymous
|
926
|
+
------------------------------------------------------
|
927
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
928
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "s3_relay_uploads" ("created_at", "data", "pending_at", "state", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2016-12-30 07:06:22.515073"], ["data", "{}"], ["pending_at", "2016-12-30 07:06:22.514743"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.515073"]]
|
929
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
930
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
931
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "s3_relay_uploads" ("created_at", "data", "pending_at", "state", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-12-30 07:06:22.516566"], ["data", "{}"], ["pending_at", "2016-12-30 07:06:22.516321"], ["state", "imported"], ["updated_at", "2016-12-30 07:06:22.516566"]]
|
932
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
933
|
+
[1m[35mS3Relay::Upload Load (0.2ms)[0m SELECT "s3_relay_uploads".* FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."state" = 'imported'
|
934
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
935
|
+
[1m[35m (0.1ms)[0m BEGIN
|
936
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
937
|
+
[1m[35m (0.1ms)[0m BEGIN
|
938
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
939
|
+
[1m[35m (0.2ms)[0m BEGIN
|
940
|
+
-----------------------------------------------------------------------------
|
941
|
+
S3Relay::UploadsHelper::#s3_relay_field::without options: test_0001_anonymous
|
942
|
+
-----------------------------------------------------------------------------
|
943
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
944
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "products" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-12-30 07:06:22.525326"], ["name", "Flux Capacitor"], ["updated_at", "2016-12-30 07:06:22.525326"]]
|
945
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
946
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
947
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
948
|
+
---------------------------------------------------------------------------------------------------------------------
|
949
|
+
S3Relay::UploadsController::POST create::success::with parent attributes::not matching an object: test_0001_anonymous
|
950
|
+
---------------------------------------------------------------------------------------------------------------------
|
951
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "s3_relay_uploads"
|
952
|
+
Processing by S3Relay::UploadsController#create as HTML
|
953
|
+
Parameters: {"association"=>"photo_uploads", "uuid"=>"1d707eb2-1f02-4a89-ad8e-4d467a3e28ce", "filename"=>"cat.png", "content_type"=>"image/png", "parent_type"=>"Product", "parent_id"=>"10000000"}
|
954
|
+
[1m[36mProduct Load (0.2ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 10000000 LIMIT 1[0m
|
955
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
956
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" = '---
|
957
|
+
:value: 1d707eb2-1f02-4a89-ad8e-4d467a3e28ce
|
958
|
+
:format: 1
|
959
|
+
' LIMIT 1[0m
|
960
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "s3_relay_uploads" ("content_type", "created_at", "data", "filename", "pending_at", "state", "updated_at", "upload_type", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["content_type", "image/png"], ["created_at", "2016-12-30 07:06:22.533979"], ["data", "{}"], ["filename", "cat.png"], ["pending_at", "2016-12-30 07:06:22.532714"], ["state", "pending"], ["updated_at", "2016-12-30 07:06:22.533979"], ["upload_type", "PhotoUpload"], ["uuid", "<36 bytes of binary data>"]]
|
961
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
962
|
+
Completed 201 Created in 4ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
963
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "s3_relay_uploads"
|
964
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
965
|
+
[1m[35m (0.1ms)[0m BEGIN
|
966
|
+
-------------------------------------------------------
|
967
|
+
S3Relay::Upload::upon finalization: test_0001_anonymous
|
968
|
+
-------------------------------------------------------
|
969
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
970
|
+
[1m[35m (0.1ms)[0m BEGIN
|
971
|
+
------------------------------------------------------------------------
|
972
|
+
S3Relay::Upload::validations::content_type: test_0001_validates presence
|
973
|
+
------------------------------------------------------------------------
|
974
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" IS NULL LIMIT 1[0m
|
975
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
976
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
977
|
+
----------------------------------------------------------
|
978
|
+
S3Relay::Upload::associations::parent: test_0001_anonymous
|
979
|
+
----------------------------------------------------------
|
980
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
981
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
982
|
+
-----------------------------------------------------
|
983
|
+
S3Relay::Upload::#mark_imported!: test_0001_anonymous
|
984
|
+
-----------------------------------------------------
|
985
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
986
|
+
[1m[36mS3Relay::Upload Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "s3_relay_uploads" WHERE "s3_relay_uploads"."uuid" IS NULL LIMIT 1[0m
|
987
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
988
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|