bloom_remit 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/bloom_remit/application_controller.rb +2 -0
- data/lib/bloom_remit/version.rb +1 -1
- data/spec/dummy/log/test.log +186 -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: 719f89bbf5856431f18ebe7c3950dd10f68f0a76
|
4
|
+
data.tar.gz: 98a247d1cde20c61b91751b41673c5c9a18267a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 628c4dfa4f89d444be0670ac3a5cb0465549b9dd0ce413c2043a607c92afdba3af4c960127851b6a0ee225cdcd7af7b5d5b09d07ff334abc4c0ab08223d4fb60
|
7
|
+
data.tar.gz: 9ef5f0d779febd3e6318a9e35155145b7d620b2b397401619f6788f39a906314c45da16b38c39ef8d745b6f4430e671af5e5e540e1a7e05ba9d1aad092ac134c
|
data/lib/bloom_remit/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -28345,3 +28345,189 @@ Completed 204 No Content in 170ms (ActiveRecord: 11.1ms)
|
|
28345
28345
|
[1m[35m (0.2ms)[0m COMMIT
|
28346
28346
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
28347
28347
|
[1m[35m (0.3ms)[0m ROLLBACK
|
28348
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28349
|
+
[1m[35m (0.7ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
|
28350
|
+
[1m[36m (1.2ms)[0m [1m SELECT schemaname || '.' || tablename
|
28351
|
+
FROM pg_tables
|
28352
|
+
WHERE
|
28353
|
+
tablename !~ '_prt_' AND
|
28354
|
+
tablename <> 'schema_migrations' AND
|
28355
|
+
schemaname = ANY (current_schemas(false))
|
28356
|
+
[0m
|
28357
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
|
28358
|
+
[1m[36m (50.3ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
28359
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
|
28360
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28361
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28362
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28363
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
28364
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
28365
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28366
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28367
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
28368
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28369
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
|
28370
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
28371
|
+
[1m[35m (9.4ms)[0m BEGIN
|
28372
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubUser"]]
|
28373
|
+
[1m[35m (0.4ms)[0m COMMIT
|
28374
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28375
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
|
28376
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
28377
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28378
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["secret", "b877a218-0c31-47af-8d92-729caa818418"], ["sender_type", "User"], ["sender_id", "1"], ["amount", "800.0"], ["account_name", "028109090"], ["account_id", "Hooli X"], ["target_slug", "PLDT"], ["owner_id", "1"], ["owner_type", "Payment"]]
|
28379
|
+
[1m[35m (0.4ms)[0m COMMIT
|
28380
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1[0m [["id", 1]]
|
28381
|
+
[1m[35mPayment Load (0.4ms)[0m SELECT "payments".* FROM "payments" WHERE "payments"."id" = $1 LIMIT 1 [["id", 1]]
|
28382
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL[0m
|
28383
|
+
[1m[35m (9.4ms)[0m TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
|
28384
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL[0m
|
28385
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28386
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" DEFAULT VALUES RETURNING "id"[0m
|
28387
|
+
[1m[35m (0.5ms)[0m COMMIT
|
28388
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28389
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "64392ab9-89a6-4b0e-964f-21c9c3750b16"], ["sender_id", "1"], ["sender_type", "User"]]
|
28390
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
28391
|
+
[1m[35mBloomRemit::Txn Load (0.4ms)[0m SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 1], ["secret", "64392ab9-89a6-4b0e-964f-21c9c3750b16"]]
|
28392
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28393
|
+
[1m[35mSQL (5.5ms)[0m UPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2 [["status", 1], ["id", 1]]
|
28394
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
28395
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
|
28396
|
+
[1m[36m (21.3ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
28397
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
|
28398
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28399
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28400
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28401
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
28402
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28403
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28404
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28405
|
+
[1m[35m (5.9ms)[0m ROLLBACK
|
28406
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28407
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28408
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28409
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
28410
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28411
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28412
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28413
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
28414
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28415
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28416
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28417
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
28418
|
+
[1m[36m (5.2ms)[0m [1mBEGIN[0m
|
28419
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28420
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28421
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
28422
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28423
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28424
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28425
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
28426
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28427
|
+
[1m[35m (0.3ms)[0m COMMIT
|
28428
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28429
|
+
[1m[35m (1.6ms)[0m SAVEPOINT active_record_1
|
28430
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" DEFAULT VALUES RETURNING "id"[0m
|
28431
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
28432
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
28433
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "1fbb31ca-32bc-45fa-93fb-b5f9b5ffa917"], ["sender_id", "1"], ["sender_type", "User"]]
|
28434
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28435
|
+
Started POST "/bloom_remit/api/v1/txns/1" for 127.0.0.1 at 2016-08-08 05:10:51 +0000
|
28436
|
+
Processing by BloomRemit::Api::V1::TxnsController#post_update as JSON
|
28437
|
+
Parameters: {"secret"=>"fake", "status"=>"doesn't matter", "id"=>"1", "txn"=>{"status"=>"doesn't matter", "secret"=>"fake"}}
|
28438
|
+
[1m[35mBloomRemit::Txn Load (0.4ms)[0m SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 1], ["secret", nil]]
|
28439
|
+
Rendered text template (0.0ms)
|
28440
|
+
Completed 404 Not Found in 216ms (Views: 214.4ms | ActiveRecord: 0.4ms)
|
28441
|
+
Started POST "/bloom_remit/api/v1/txns/1" for 127.0.0.1 at 2016-08-08 05:10:52 +0000
|
28442
|
+
Processing by BloomRemit::Api::V1::TxnsController#post_update as JSON
|
28443
|
+
Parameters: {"secret"=>"1fbb31ca-32bc-45fa-93fb-b5f9b5ffa917", "status"=>"paid", "id"=>"1", "txn"=>{"status"=>"paid", "secret"=>"1fbb31ca-32bc-45fa-93fb-b5f9b5ffa917"}}
|
28444
|
+
[1m[36mBloomRemit::Txn Load (0.4ms)[0m [1mSELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1[0m [["id", 1], ["secret", "1fbb31ca-32bc-45fa-93fb-b5f9b5ffa917"]]
|
28445
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
28446
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2[0m [["status", 1], ["id", 1]]
|
28447
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
28448
|
+
Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 1.0ms)
|
28449
|
+
[1m[36mBloomRemit::Txn Load (0.2ms)[0m [1mSELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 LIMIT 1[0m [["id", 1]]
|
28450
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
28451
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
28452
|
+
[1m[35m (0.1ms)[0m COMMIT
|
28453
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
28454
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
28455
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" DEFAULT VALUES RETURNING "id"[0m
|
28456
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
28457
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
28458
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "f7d27694-eac4-41d5-b1f5-d0af7504d591"], ["sender_id", "2"], ["sender_type", "User"]]
|
28459
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28460
|
+
Started PATCH "/bloom_remit/api/v1/txns/2" for 127.0.0.1 at 2016-08-08 05:10:52 +0000
|
28461
|
+
Processing by BloomRemit::Api::V1::TxnsController#update as JSON
|
28462
|
+
Parameters: {"secret"=>"fake", "status"=>"doesn't matter", "id"=>"2", "txn"=>{"status"=>"doesn't matter", "secret"=>"fake"}}
|
28463
|
+
[1m[35mBloomRemit::Txn Load (0.3ms)[0m SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 2], ["secret", nil]]
|
28464
|
+
Rendered text template (0.0ms)
|
28465
|
+
Completed 404 Not Found in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)
|
28466
|
+
Started PATCH "/bloom_remit/api/v1/txns/2" for 127.0.0.1 at 2016-08-08 05:10:52 +0000
|
28467
|
+
Processing by BloomRemit::Api::V1::TxnsController#update as JSON
|
28468
|
+
Parameters: {"secret"=>"f7d27694-eac4-41d5-b1f5-d0af7504d591", "status"=>"paid", "id"=>"2", "txn"=>{"status"=>"paid", "secret"=>"f7d27694-eac4-41d5-b1f5-d0af7504d591"}}
|
28469
|
+
[1m[36mBloomRemit::Txn Load (0.3ms)[0m [1mSELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1[0m [["id", 2], ["secret", "f7d27694-eac4-41d5-b1f5-d0af7504d591"]]
|
28470
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
28471
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2[0m [["status", 1], ["id", 2]]
|
28472
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
28473
|
+
Completed 204 No Content in 310ms (ActiveRecord: 0.9ms)
|
28474
|
+
[1m[36mBloomRemit::Txn Load (0.4ms)[0m [1mSELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 LIMIT 1[0m [["id", 2]]
|
28475
|
+
[1m[35m (2.7ms)[0m ROLLBACK
|
28476
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
28477
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28478
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28479
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
28480
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubUser"]]
|
28481
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
28482
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
28483
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
|
28484
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28485
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
28486
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "payments" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubPayment"]]
|
28487
|
+
[1m[35m (1.8ms)[0m RELEASE SAVEPOINT active_record_1
|
28488
|
+
[1m[36m (2.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
28489
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["secret", "145291ee-e034-473f-8650-c7b13dca97c2"], ["sender_type", "User"], ["sender_id", "3"], ["amount", "800.0"], ["account_name", "028109090"], ["account_id", "Hooli X"], ["target_slug", "PLDT"], ["owner_id", "1"], ["owner_type", "Payment"]]
|
28490
|
+
[1m[36m (0.9ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28491
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
28492
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28493
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28494
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28495
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
28496
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28497
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28498
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28499
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
28500
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "payments" DEFAULT VALUES RETURNING "id"[0m
|
28501
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
28502
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
28503
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
28504
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28505
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
28506
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "owner_id", "owner_type", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "7631ff03-6cd6-4440-8e38-c61c5032f09f"], ["owner_id", "2"], ["owner_type", "Payment"], ["sender_id", "4"], ["sender_type", "User"]]
|
28507
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
28508
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
28509
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "bloom_remit_responses" ("body", "txn_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["body", "{\"i\":\"am body\"}"], ["txn_id", 4], ["created_at", "2016-08-08 05:10:53.263397"], ["updated_at", "2016-08-08 05:10:53.263397"]]
|
28510
|
+
[1m[36m (0.9ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28511
|
+
[1m[35m (3.8ms)[0m SELECT COUNT(*) FROM "bloom_remit_responses" WHERE "bloom_remit_responses"."txn_id" = $1 [["txn_id", 4]]
|
28512
|
+
[1m[36mBloomRemit::Response Load (0.4ms)[0m [1mSELECT "bloom_remit_responses".* FROM "bloom_remit_responses" WHERE "bloom_remit_responses"."txn_id" = $1 ORDER BY "bloom_remit_responses"."id" ASC LIMIT 1[0m [["txn_id", 4]]
|
28513
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
28514
|
+
[1m[36m (3.0ms)[0m [1mBEGIN[0m
|
28515
|
+
[1m[35m (0.3ms)[0m COMMIT
|
28516
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28517
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
28518
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28519
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28520
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28521
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
28522
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28523
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28524
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
28525
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
28526
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28527
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28528
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28529
|
+
[1m[35m (9.1ms)[0m ROLLBACK
|
28530
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28531
|
+
[1m[35m (0.3ms)[0m COMMIT
|
28532
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28533
|
+
[1m[35m (4.2ms)[0m ROLLBACK
|