bloom_remit 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/concepts/bloom_remit/txns/contracts/create.rb +3 -0
- data/app/services/bloom_remit/create_txn.rb +10 -1
- data/app/services/bloom_remit/txns/post.rb +1 -0
- data/db/migrate/20160808081300_add_external_id_to_txns.rb +6 -0
- data/lib/bloom_remit/factories/txn.rb +1 -0
- data/lib/bloom_remit/version.rb +1 -1
- data/spec/concepts/bloom_remit/txns/contracts/create_spec.rb +16 -0
- data/spec/concepts/bloom_remit/txns/operations/create_spec.rb +3 -0
- data/spec/dummy/db/schema.rb +3 -1
- data/spec/dummy/log/development.log +80 -0
- data/spec/dummy/log/test.log +935 -0
- data/spec/requests/api/v1/txns_spec.rb +0 -1
- data/spec/services/bloom_remit/create_txn_spec.rb +4 -0
- data/spec/services/bloom_remit/txns/post_spec.rb +3 -0
- metadata +4 -1
data/spec/dummy/log/test.log
CHANGED
@@ -28531,3 +28531,938 @@ Completed 204 No Content in 310ms (ActiveRecord: 0.9ms)
|
|
28531
28531
|
[1m[35m (0.3ms)[0m COMMIT
|
28532
28532
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28533
28533
|
[1m[35m (4.2ms)[0m ROLLBACK
|
28534
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28535
|
+
[1m[35m (2.2ms)[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
|
28536
|
+
[1m[36m (1.1ms)[0m [1m SELECT schemaname || '.' || tablename
|
28537
|
+
FROM pg_tables
|
28538
|
+
WHERE
|
28539
|
+
tablename !~ '_prt_' AND
|
28540
|
+
tablename <> 'schema_migrations' AND
|
28541
|
+
schemaname = ANY (current_schemas(false))
|
28542
|
+
[0m
|
28543
|
+
[1m[35m (3.1ms)[0m select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
|
28544
|
+
[1m[36m (17.0ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
28545
|
+
[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
|
28546
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28547
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28548
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28549
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
28550
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubUser"]]
|
28551
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
28552
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
28553
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
|
28554
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28555
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
28556
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "payments" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubPayment"]]
|
28557
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
28558
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
28559
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28560
|
+
[1m[35m (0.5ms)[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
|
28561
|
+
[1m[36m (1.1ms)[0m [1m SELECT schemaname || '.' || tablename
|
28562
|
+
FROM pg_tables
|
28563
|
+
WHERE
|
28564
|
+
tablename !~ '_prt_' AND
|
28565
|
+
tablename <> 'schema_migrations' AND
|
28566
|
+
schemaname = ANY (current_schemas(false))
|
28567
|
+
[0m
|
28568
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
|
28569
|
+
[1m[36m (13.6ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
28570
|
+
[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
|
28571
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28572
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28573
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28574
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
28575
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubUser"]]
|
28576
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
28577
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
28578
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
|
28579
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28580
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
28581
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "payments" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubPayment"]]
|
28582
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
28583
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
28584
|
+
[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", "e2a5563b-9ac6-4d47-8ae0-3e76f1484a85"], ["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"]]
|
28585
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28586
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
28587
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28588
|
+
Migrating to AddExternalIdToTxns (20160808081300)
|
28589
|
+
[1m[35m (0.1ms)[0m BEGIN
|
28590
|
+
[1m[36m (2.7ms)[0m [1mALTER TABLE "bloom_remit_txns" ADD "external_id" character varying NOT NULL[0m
|
28591
|
+
[1m[35m (5.6ms)[0m CREATE INDEX "index_bloom_remit_txns_on_external_id" ON "bloom_remit_txns" ("external_id")
|
28592
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160808081300"]]
|
28593
|
+
[1m[35m (4.4ms)[0m COMMIT
|
28594
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28595
|
+
[1m[35m (2.2ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
28596
|
+
FROM pg_constraint c
|
28597
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
28598
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
28599
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
28600
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
28601
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
28602
|
+
WHERE c.contype = 'f'
|
28603
|
+
AND t1.relname = 'billers'
|
28604
|
+
AND t3.nspname = ANY (current_schemas(false))
|
28605
|
+
ORDER BY c.conname
|
28606
|
+
|
28607
|
+
[1m[36m (1.9ms)[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
|
28608
|
+
FROM pg_constraint c
|
28609
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
28610
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
28611
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
28612
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
28613
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
28614
|
+
WHERE c.contype = 'f'
|
28615
|
+
AND t1.relname = 'bloom_remit_responses'
|
28616
|
+
AND t3.nspname = ANY (current_schemas(false))
|
28617
|
+
ORDER BY c.conname
|
28618
|
+
[0m
|
28619
|
+
[1m[35m (2.1ms)[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
|
28620
|
+
FROM pg_constraint c
|
28621
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
28622
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
28623
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
28624
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
28625
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
28626
|
+
WHERE c.contype = 'f'
|
28627
|
+
AND t1.relname = 'bloom_remit_txns'
|
28628
|
+
AND t3.nspname = ANY (current_schemas(false))
|
28629
|
+
ORDER BY c.conname
|
28630
|
+
|
28631
|
+
[1m[36m (1.9ms)[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
|
28632
|
+
FROM pg_constraint c
|
28633
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
28634
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
28635
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
28636
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
28637
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
28638
|
+
WHERE c.contype = 'f'
|
28639
|
+
AND t1.relname = 'payments'
|
28640
|
+
AND t3.nspname = ANY (current_schemas(false))
|
28641
|
+
ORDER BY c.conname
|
28642
|
+
[0m
|
28643
|
+
[1m[35m (2.1ms)[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
|
28644
|
+
FROM pg_constraint c
|
28645
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
28646
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
28647
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
28648
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
28649
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
28650
|
+
WHERE c.contype = 'f'
|
28651
|
+
AND t1.relname = 'users'
|
28652
|
+
AND t3.nspname = ANY (current_schemas(false))
|
28653
|
+
ORDER BY c.conname
|
28654
|
+
|
28655
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28656
|
+
[1m[35m (0.5ms)[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
|
28657
|
+
[1m[36m (1.1ms)[0m [1m SELECT schemaname || '.' || tablename
|
28658
|
+
FROM pg_tables
|
28659
|
+
WHERE
|
28660
|
+
tablename !~ '_prt_' AND
|
28661
|
+
tablename <> 'schema_migrations' AND
|
28662
|
+
schemaname = ANY (current_schemas(false))
|
28663
|
+
[0m
|
28664
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
|
28665
|
+
[1m[36m (21.7ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
28666
|
+
[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
|
28667
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28668
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28669
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28670
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
28671
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28672
|
+
[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
|
28673
|
+
[1m[36m (1.2ms)[0m [1m SELECT schemaname || '.' || tablename
|
28674
|
+
FROM pg_tables
|
28675
|
+
WHERE
|
28676
|
+
tablename !~ '_prt_' AND
|
28677
|
+
tablename <> 'schema_migrations' AND
|
28678
|
+
schemaname = ANY (current_schemas(false))
|
28679
|
+
[0m
|
28680
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
|
28681
|
+
[1m[36m (14.7ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
28682
|
+
[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
|
28683
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28684
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28685
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28686
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
28687
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28688
|
+
[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
|
28689
|
+
[1m[36m (1.2ms)[0m [1m SELECT schemaname || '.' || tablename
|
28690
|
+
FROM pg_tables
|
28691
|
+
WHERE
|
28692
|
+
tablename !~ '_prt_' AND
|
28693
|
+
tablename <> 'schema_migrations' AND
|
28694
|
+
schemaname = ANY (current_schemas(false))
|
28695
|
+
[0m
|
28696
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
|
28697
|
+
[1m[36m (21.2ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
28698
|
+
[1m[35m (0.5ms)[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
|
28699
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28700
|
+
[1m[35m (0.1ms)[0m COMMIT
|
28701
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
28702
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
28703
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28704
|
+
[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
|
28705
|
+
[1m[36m (1.1ms)[0m [1m SELECT schemaname || '.' || tablename
|
28706
|
+
FROM pg_tables
|
28707
|
+
WHERE
|
28708
|
+
tablename !~ '_prt_' AND
|
28709
|
+
tablename <> 'schema_migrations' AND
|
28710
|
+
schemaname = ANY (current_schemas(false))
|
28711
|
+
[0m
|
28712
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
|
28713
|
+
[1m[36m (17.5ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
28714
|
+
[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
|
28715
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28716
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28717
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28718
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
28719
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28720
|
+
[1m[35m (0.7ms)[0m ALTER 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
|
28721
|
+
[1m[36m (1.2ms)[0m [1m SELECT schemaname || '.' || tablename
|
28722
|
+
FROM pg_tables
|
28723
|
+
WHERE
|
28724
|
+
tablename !~ '_prt_' AND
|
28725
|
+
tablename <> 'schema_migrations' AND
|
28726
|
+
schemaname = ANY (current_schemas(false))
|
28727
|
+
[0m
|
28728
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
|
28729
|
+
[1m[36m (14.7ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
28730
|
+
[1m[35m (0.8ms)[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
|
28731
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28732
|
+
[1m[35m (0.3ms)[0m COMMIT
|
28733
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28734
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
28735
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28736
|
+
[1m[35m (0.6ms)[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
|
28737
|
+
[1m[36m (1.2ms)[0m [1m SELECT schemaname || '.' || tablename
|
28738
|
+
FROM pg_tables
|
28739
|
+
WHERE
|
28740
|
+
tablename !~ '_prt_' AND
|
28741
|
+
tablename <> 'schema_migrations' AND
|
28742
|
+
schemaname = ANY (current_schemas(false))
|
28743
|
+
[0m
|
28744
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
|
28745
|
+
[1m[36m (14.0ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
28746
|
+
[1m[35m (0.3ms)[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
|
28747
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28748
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28749
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28750
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
28751
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28752
|
+
[1m[35m (0.6ms)[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
|
28753
|
+
[1m[36m (2.3ms)[0m [1m SELECT schemaname || '.' || tablename
|
28754
|
+
FROM pg_tables
|
28755
|
+
WHERE
|
28756
|
+
tablename !~ '_prt_' AND
|
28757
|
+
tablename <> 'schema_migrations' AND
|
28758
|
+
schemaname = ANY (current_schemas(false))
|
28759
|
+
[0m
|
28760
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
|
28761
|
+
[1m[36m (31.8ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
28762
|
+
[1m[35m (1.5ms)[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
|
28763
|
+
[1m[36m (2.0ms)[0m [1mBEGIN[0m
|
28764
|
+
[1m[35m (0.6ms)[0m COMMIT
|
28765
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
28766
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
28767
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28768
|
+
[1m[35m (0.4ms)[0m COMMIT
|
28769
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28770
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
28771
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
28772
|
+
[1m[35m (0.4ms)[0m COMMIT
|
28773
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
28774
|
+
[1m[35m (8.0ms)[0m ROLLBACK
|
28775
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28776
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
|
28777
|
+
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
|
28778
|
+
[1m[35m (0.4ms)[0m BEGIN
|
28779
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubUser"]]
|
28780
|
+
[1m[35m (0.5ms)[0m COMMIT
|
28781
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28782
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
|
28783
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
28784
|
+
[1m[35m (0.5ms)[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
|
28785
|
+
[1m[36m (35.9ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
28786
|
+
[1m[35m (1.3ms)[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
|
28787
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28788
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
28789
|
+
[1m[36m (1.3ms)[0m [1mCOMMIT[0m
|
28790
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28791
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "3ec7070a-b5de-4875-9380-123ac1472367"], ["sender_id", "1"], ["sender_type", "User"]]
|
28792
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
28793
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
28794
|
+
[1m[35m (37.8ms)[0m TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
|
28795
|
+
[1m[36m (0.4ms)[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
|
28796
|
+
[1m[35m (0.1ms)[0m BEGIN
|
28797
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
28798
|
+
[1m[35m (0.1ms)[0m BEGIN
|
28799
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
28800
|
+
[1m[35m (0.1ms)[0m BEGIN
|
28801
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
28802
|
+
[1m[35m (0.1ms)[0m BEGIN
|
28803
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
28804
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28805
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
28806
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28807
|
+
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
28808
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28809
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
28810
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28811
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
28812
|
+
[1m[35m (0.1ms)[0m BEGIN
|
28813
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
28814
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28815
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
28816
|
+
[1m[35m (0.1ms)[0m BEGIN
|
28817
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
28818
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28819
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
28820
|
+
[1m[35m (0.1ms)[0m BEGIN
|
28821
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
28822
|
+
[1m[35m (0.1ms)[0m BEGIN
|
28823
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
28824
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28825
|
+
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
|
28826
|
+
[1m[35m (0.4ms)[0m BEGIN
|
28827
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
28828
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
28829
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28830
|
+
[1m[35m (2.5ms)[0m SAVEPOINT active_record_1
|
28831
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "a27e57ca-c1fe-4841-b214-e4fca5191308"], ["sender_id", "1"], ["sender_type", "User"]]
|
28832
|
+
[1m[35m (0.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
28833
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
28834
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28835
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
28836
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28837
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
28838
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
28839
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28840
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
28841
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "7fbfa8c0-150c-47a1-a840-20e240a5855c"], ["sender_id", "2"], ["sender_type", "User"]]
|
28842
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
28843
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
28844
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28845
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
28846
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28847
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
28848
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("type") VALUES ($1) RETURNING "id" [["type", "SubUser"]]
|
28849
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28850
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
28851
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id"[0m [["slug", "PLDT"]]
|
28852
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
28853
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
28854
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
|
28855
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28856
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
28857
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type", "external_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["secret", "8265bdb2-1fdb-465e-bb83-4498b2d508a1"], ["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"], ["external_id", "0601fff067ddcad92a7b4f1d"]]
|
28858
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
28859
|
+
[1m[36m (15.7ms)[0m [1mROLLBACK[0m
|
28860
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28861
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
28862
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28863
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
28864
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28865
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
28866
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28867
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
28868
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "payments" DEFAULT VALUES RETURNING "id"
|
28869
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28870
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
28871
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" DEFAULT VALUES RETURNING "id"[0m
|
28872
|
+
[1m[35m (0.6ms)[0m RELEASE SAVEPOINT active_record_1
|
28873
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
28874
|
+
[1m[35mSQL (0.7ms)[0m INSERT 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" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "2c4ba526-e4e7-48bd-8656-b04aa359c917"], ["owner_id", "2"], ["owner_type", "Payment"], ["sender_id", "4"], ["sender_type", "User"]]
|
28875
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
28876
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
28877
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28878
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28879
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
28880
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
28881
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
28882
|
+
[1m[35m (0.1ms)[0m COMMIT
|
28883
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
28884
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
28885
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
28886
|
+
[1m[35m (0.1ms)[0m COMMIT
|
28887
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
28888
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
28889
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
28890
|
+
[1m[35m (0.1ms)[0m COMMIT
|
28891
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
28892
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
28893
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
28894
|
+
[1m[35m (0.1ms)[0m COMMIT
|
28895
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28896
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
28897
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28898
|
+
[1m[35m (0.5ms)[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
|
28899
|
+
[1m[36m (1.5ms)[0m [1m SELECT schemaname || '.' || tablename
|
28900
|
+
FROM pg_tables
|
28901
|
+
WHERE
|
28902
|
+
tablename !~ '_prt_' AND
|
28903
|
+
tablename <> 'schema_migrations' AND
|
28904
|
+
schemaname = ANY (current_schemas(false))
|
28905
|
+
[0m
|
28906
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
|
28907
|
+
[1m[36m (29.5ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
28908
|
+
[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
|
28909
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28910
|
+
[1m[35m (0.3ms)[0m COMMIT
|
28911
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28912
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
28913
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28914
|
+
[1m[35m (0.3ms)[0m COMMIT
|
28915
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28916
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
28917
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28918
|
+
[1m[35m (0.2ms)[0m COMMIT
|
28919
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28920
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
28921
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
28922
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
|
28923
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
28924
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28925
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubUser"]]
|
28926
|
+
[1m[35m (0.7ms)[0m COMMIT
|
28927
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
28928
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
|
28929
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
28930
|
+
[1m[35m (0.5ms)[0m ALTER 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
|
28931
|
+
[1m[36m (13.2ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
28932
|
+
[1m[35m (0.5ms)[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
|
28933
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
28934
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
28935
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
28936
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28937
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "4762bdc1-769f-42f6-acb6-5cc228193f1a"], ["sender_id", "1"], ["sender_type", "User"]]
|
28938
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
28939
|
+
[1m[36m (0.3ms)[0m [1mALTER 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[0m
|
28940
|
+
[1m[35m (16.2ms)[0m TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
|
28941
|
+
[1m[36m (0.5ms)[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
|
28942
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28943
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
28944
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28945
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
28946
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28947
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
28948
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28949
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
28950
|
+
[1m[35m (0.4ms)[0m BEGIN
|
28951
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
28952
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28953
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
28954
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28955
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
28956
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28957
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
28958
|
+
[1m[35m (0.5ms)[0m BEGIN
|
28959
|
+
[1m[36m (1.3ms)[0m [1mCOMMIT[0m
|
28960
|
+
[1m[35m (1.6ms)[0m BEGIN
|
28961
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
28962
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28963
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
28964
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28965
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
28966
|
+
[1m[35m (0.5ms)[0m BEGIN
|
28967
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
28968
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28969
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
28970
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28971
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
28972
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28973
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
28974
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
28975
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28976
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
28977
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "b24721b7-0a4b-40d5-b70f-3d6f2fd57964"], ["sender_id", "1"], ["sender_type", "User"]]
|
28978
|
+
[1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
28979
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
28980
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28981
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
28982
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28983
|
+
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
28984
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
28985
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28986
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
28987
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "0a5fd3d2-eb43-4b54-8852-7684f40d8835"], ["sender_id", "2"], ["sender_type", "User"]]
|
28988
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
28989
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
28990
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28991
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
28992
|
+
[1m[35m (0.2ms)[0m BEGIN
|
28993
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
28994
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("type") VALUES ($1) RETURNING "id" [["type", "SubUser"]]
|
28995
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
28996
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
28997
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id"[0m [["slug", "PLDT"]]
|
28998
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
28999
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
29000
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
|
29001
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29002
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
29003
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type", "external_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["secret", "4aa6906f-6b30-47cc-9d1b-38262471f802"], ["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"], ["external_id", "a5fdb3faed794e3e61549dbf"]]
|
29004
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
29005
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
29006
|
+
[1m[35m (0.2ms)[0m BEGIN
|
29007
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
29008
|
+
[1m[35m (0.3ms)[0m BEGIN
|
29009
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
29010
|
+
[1m[35m (0.2ms)[0m BEGIN
|
29011
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
29012
|
+
[1m[35m (0.2ms)[0m BEGIN
|
29013
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
29014
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "payments" DEFAULT VALUES RETURNING "id"
|
29015
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29016
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
29017
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" DEFAULT VALUES RETURNING "id"[0m
|
29018
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
29019
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
29020
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "owner_id", "owner_type", "sender_id", "sender_type", "external_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "ed30c25d-b650-4c03-a341-5397242557df"], ["owner_id", "2"], ["owner_type", "Payment"], ["sender_id", "4"], ["sender_type", "User"], ["external_id", "b4855adda17ec0fa179c8c11"]]
|
29021
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29022
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
29023
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "bloom_remit_responses" ("body", "txn_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["body", "{\"i\":\"am body\"}"], ["txn_id", 4], ["created_at", "2016-08-08 08:23:41.558113"], ["updated_at", "2016-08-08 08:23:41.558113"]]
|
29024
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
29025
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "bloom_remit_responses" WHERE "bloom_remit_responses"."txn_id" = $1[0m [["txn_id", 4]]
|
29026
|
+
[1m[35mBloomRemit::Response Load (0.6ms)[0m SELECT "bloom_remit_responses".* FROM "bloom_remit_responses" WHERE "bloom_remit_responses"."txn_id" = $1 ORDER BY "bloom_remit_responses"."id" ASC LIMIT 1 [["txn_id", 4]]
|
29027
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
29028
|
+
[1m[35m (0.3ms)[0m BEGIN
|
29029
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
29030
|
+
[1m[35m (0.2ms)[0m BEGIN
|
29031
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
29032
|
+
[1m[35m (0.2ms)[0m BEGIN
|
29033
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
29034
|
+
[1m[35m (0.2ms)[0m BEGIN
|
29035
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
29036
|
+
[1m[35m (0.4ms)[0m BEGIN
|
29037
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
29038
|
+
[1m[35m (0.2ms)[0m BEGIN
|
29039
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
29040
|
+
[1m[35m (0.2ms)[0m BEGIN
|
29041
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
29042
|
+
[1m[35m (0.2ms)[0m BEGIN
|
29043
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
29044
|
+
[1m[35m (0.3ms)[0m BEGIN
|
29045
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
29046
|
+
[1m[35m (0.2ms)[0m BEGIN
|
29047
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
29048
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
29049
|
+
[1m[35m (0.8ms)[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
|
29050
|
+
[1m[36m (1.2ms)[0m [1m SELECT schemaname || '.' || tablename
|
29051
|
+
FROM pg_tables
|
29052
|
+
WHERE
|
29053
|
+
tablename !~ '_prt_' AND
|
29054
|
+
tablename <> 'schema_migrations' AND
|
29055
|
+
schemaname = ANY (current_schemas(false))
|
29056
|
+
[0m
|
29057
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
|
29058
|
+
[1m[36m (13.7ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
29059
|
+
[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
|
29060
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
29061
|
+
[1m[35m (0.2ms)[0m COMMIT
|
29062
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
29063
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
29064
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
29065
|
+
[1m[35m (0.2ms)[0m COMMIT
|
29066
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
29067
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
29068
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
29069
|
+
[1m[35m (0.2ms)[0m COMMIT
|
29070
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29071
|
+
[1m[35m (1.1ms)[0m ROLLBACK
|
29072
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
29073
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
|
29074
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
29075
|
+
[1m[35m (0.3ms)[0m BEGIN
|
29076
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubUser"]]
|
29077
|
+
[1m[35m (0.5ms)[0m COMMIT
|
29078
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
29079
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
|
29080
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
29081
|
+
[1m[35m (0.3ms)[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
|
29082
|
+
[1m[36m (11.1ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
29083
|
+
[1m[35m (0.8ms)[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
|
29084
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
29085
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
29086
|
+
[1m[36m (1.0ms)[0m [1mCOMMIT[0m
|
29087
|
+
[1m[35m (0.4ms)[0m BEGIN
|
29088
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "01438a9e-313d-4b51-9922-7efb6cd19986"], ["external_id", "23723280b86c92b5b6adaa09"], ["sender_id", "1"], ["sender_type", "User"]]
|
29089
|
+
[1m[35m (0.6ms)[0m COMMIT
|
29090
|
+
[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", 1], ["secret", "01438a9e-313d-4b51-9922-7efb6cd19986"]]
|
29091
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29092
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2[0m [["status", 1], ["id", 1]]
|
29093
|
+
[1m[35m (0.4ms)[0m COMMIT
|
29094
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
29095
|
+
[1m[35m (12.0ms)[0m TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
|
29096
|
+
[1m[36m (0.3ms)[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
|
29097
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29098
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29099
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29100
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
29101
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29102
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29103
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29104
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
29105
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29106
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29107
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29108
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
29109
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29110
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29111
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29112
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
29113
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29114
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29115
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29116
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
29117
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29118
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29119
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29120
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
29121
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29122
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29123
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29124
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
29125
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29126
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29127
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
29129
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
29130
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29131
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
29132
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "f5d49591-9412-4910-9f04-9753fe36ccb5"], ["external_id", "aa66defbbd8c469bdfa44079"], ["sender_id", "1"], ["sender_type", "User"]]
|
29133
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29134
|
+
Started POST "/bloom_remit/api/v1/txns/1" for 127.0.0.1 at 2016-08-08 08:24:13 +0000
|
29135
|
+
Processing by BloomRemit::Api::V1::TxnsController#post_update as JSON
|
29136
|
+
Parameters: {"secret"=>"fake", "status"=>"doesn't matter", "id"=>"1", "txn"=>{"status"=>"doesn't matter", "secret"=>"fake"}}
|
29137
|
+
[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", 1], ["secret", nil]]
|
29138
|
+
Rendered text template (0.0ms)
|
29139
|
+
Completed 404 Not Found in 59ms (Views: 57.8ms | ActiveRecord: 0.3ms)
|
29140
|
+
Started POST "/bloom_remit/api/v1/txns/1" for 127.0.0.1 at 2016-08-08 08:24:13 +0000
|
29141
|
+
Processing by BloomRemit::Api::V1::TxnsController#post_update as JSON
|
29142
|
+
Parameters: {"secret"=>"f5d49591-9412-4910-9f04-9753fe36ccb5", "status"=>"paid", "id"=>"1", "txn"=>{"status"=>"paid", "secret"=>"f5d49591-9412-4910-9f04-9753fe36ccb5"}}
|
29143
|
+
[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", 1], ["secret", "f5d49591-9412-4910-9f04-9753fe36ccb5"]]
|
29144
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
29145
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2 [["status", 1], ["id", 1]]
|
29146
|
+
[1m[36m (0.9ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29147
|
+
Completed 200 OK in 12ms (Views: 2.5ms | ActiveRecord: 1.8ms)
|
29148
|
+
[1m[35mBloomRemit::Txn Load (0.2ms)[0m SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 LIMIT 1 [["id", 1]]
|
29149
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
29150
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29151
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29152
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29153
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
29154
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
29155
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29156
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
29157
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "a80bfccf-c12e-4c9c-a682-b257895e87d9"], ["external_id", "23801e3513ba366d123fcbb3"], ["sender_id", "2"], ["sender_type", "User"]]
|
29158
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29159
|
+
Started PATCH "/bloom_remit/api/v1/txns/2" for 127.0.0.1 at 2016-08-08 08:24:14 +0000
|
29160
|
+
Processing by BloomRemit::Api::V1::TxnsController#update as JSON
|
29161
|
+
Parameters: {"secret"=>"fake", "status"=>"doesn't matter", "id"=>"2", "txn"=>{"status"=>"doesn't matter", "secret"=>"fake"}}
|
29162
|
+
[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", nil]]
|
29163
|
+
Rendered text template (0.0ms)
|
29164
|
+
Completed 404 Not Found in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
29165
|
+
Started PATCH "/bloom_remit/api/v1/txns/2" for 127.0.0.1 at 2016-08-08 08:24:14 +0000
|
29166
|
+
Processing by BloomRemit::Api::V1::TxnsController#update as JSON
|
29167
|
+
Parameters: {"secret"=>"a80bfccf-c12e-4c9c-a682-b257895e87d9", "status"=>"paid", "id"=>"2", "txn"=>{"status"=>"paid", "secret"=>"a80bfccf-c12e-4c9c-a682-b257895e87d9"}}
|
29168
|
+
[1m[35mBloomRemit::Txn Load (0.8ms)[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", "a80bfccf-c12e-4c9c-a682-b257895e87d9"]]
|
29169
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
29170
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2 [["status", 1], ["id", 2]]
|
29171
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29172
|
+
Completed 204 No Content in 55ms (ActiveRecord: 1.3ms)
|
29173
|
+
[1m[35mBloomRemit::Txn Load (0.2ms)[0m SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 LIMIT 1 [["id", 2]]
|
29174
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
29175
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29176
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29177
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29178
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
29179
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("type") VALUES ($1) RETURNING "id" [["type", "SubUser"]]
|
29180
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29181
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
29182
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id"[0m [["slug", "PLDT"]]
|
29183
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29184
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
29185
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
|
29186
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29187
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
29188
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type", "external_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["secret", "4dc2ce09-61cd-41a8-8793-fcdecaacc66e"], ["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"], ["external_id", "9ff95aabe3e1722ddc17ed82"]]
|
29189
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29190
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
29191
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29192
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29193
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29194
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
29195
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29196
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29197
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29198
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
29199
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "payments" DEFAULT VALUES RETURNING "id"
|
29200
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29201
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
29202
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" DEFAULT VALUES RETURNING "id"[0m
|
29203
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29204
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
29205
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "owner_id", "owner_type", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "a0b2b2bd-57ac-4e18-b04e-dd8928503498"], ["external_id", "558c362046f3479ea0b59031"], ["owner_id", "2"], ["owner_type", "Payment"], ["sender_id", "4"], ["sender_type", "User"]]
|
29206
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29207
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
29208
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "bloom_remit_responses" ("body", "txn_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["body", "{\"i\":\"am body\"}"], ["txn_id", 4], ["created_at", "2016-08-08 08:24:14.201422"], ["updated_at", "2016-08-08 08:24:14.201422"]]
|
29209
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29210
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "bloom_remit_responses" WHERE "bloom_remit_responses"."txn_id" = $1[0m [["txn_id", 4]]
|
29211
|
+
[1m[35mBloomRemit::Response Load (0.2ms)[0m SELECT "bloom_remit_responses".* FROM "bloom_remit_responses" WHERE "bloom_remit_responses"."txn_id" = $1 ORDER BY "bloom_remit_responses"."id" ASC LIMIT 1 [["txn_id", 4]]
|
29212
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
29213
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29214
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29215
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29216
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
29217
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29218
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29219
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29220
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
29221
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29222
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29223
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29224
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
29225
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29226
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29227
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29228
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
29229
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29230
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
29231
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29232
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
29233
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
29234
|
+
[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
|
29235
|
+
[1m[36m (1.1ms)[0m [1m SELECT schemaname || '.' || tablename
|
29236
|
+
FROM pg_tables
|
29237
|
+
WHERE
|
29238
|
+
tablename !~ '_prt_' AND
|
29239
|
+
tablename <> 'schema_migrations' AND
|
29240
|
+
schemaname = ANY (current_schemas(false))
|
29241
|
+
[0m
|
29242
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
|
29243
|
+
[1m[36m (17.8ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
29244
|
+
[1m[35m (0.4ms)[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
|
29245
|
+
[1m[36m (0.7ms)[0m [1mBEGIN[0m
|
29246
|
+
[1m[35m (0.4ms)[0m COMMIT
|
29247
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
29248
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29249
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29250
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
|
29251
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
29252
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29253
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubUser"]]
|
29254
|
+
[1m[35m (0.4ms)[0m COMMIT
|
29255
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29256
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
|
29257
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
29258
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29259
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type", "external_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["secret", "a1d9ee5a-4e70-46c5-a1fd-26348cac3e29"], ["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"], ["external_id", "dd358cc1f2b2f1675b63cef7"]]
|
29260
|
+
[1m[35m (0.4ms)[0m COMMIT
|
29261
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1[0m [["id", 1]]
|
29262
|
+
[1m[35mPayment Load (0.2ms)[0m SELECT "payments".* FROM "payments" WHERE "payments"."id" = $1 LIMIT 1 [["id", 1]]
|
29263
|
+
[1m[36m (0.2ms)[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
|
29264
|
+
[1m[35m (10.1ms)[0m TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
|
29265
|
+
[1m[36m (0.5ms)[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
|
29266
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29267
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" DEFAULT VALUES RETURNING "id"[0m
|
29268
|
+
[1m[35m (0.3ms)[0m COMMIT
|
29269
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29270
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "69ffdb6a-1ab3-4e5e-9cb1-b1352a118493"], ["external_id", "805156f58c6578fa91c9d3ce"], ["sender_id", "1"], ["sender_type", "User"]]
|
29271
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
29272
|
+
[1m[35mBloomRemit::Txn Load (0.2ms)[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", "69ffdb6a-1ab3-4e5e-9cb1-b1352a118493"]]
|
29273
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29274
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2 [["status", 1], ["id", 1]]
|
29275
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
29276
|
+
[1m[35m (0.2ms)[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
|
29277
|
+
[1m[36m (9.1ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
29278
|
+
[1m[35m (0.3ms)[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
|
29279
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
29280
|
+
[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
|
29281
|
+
[1m[36m (1.1ms)[0m [1m SELECT schemaname || '.' || tablename
|
29282
|
+
FROM pg_tables
|
29283
|
+
WHERE
|
29284
|
+
tablename !~ '_prt_' AND
|
29285
|
+
tablename <> 'schema_migrations' AND
|
29286
|
+
schemaname = ANY (current_schemas(false))
|
29287
|
+
[0m
|
29288
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
|
29289
|
+
[1m[36m (16.1ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
29290
|
+
[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
|
29291
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29292
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29293
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29294
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29295
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29296
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29297
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29298
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29299
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29300
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29301
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29302
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29303
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29304
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
|
29305
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
29306
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29307
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubUser"]]
|
29308
|
+
[1m[35m (0.4ms)[0m COMMIT
|
29309
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29310
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
|
29311
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
29312
|
+
[1m[35m (0.2ms)[0m BEGIN
|
29313
|
+
[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", "external_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"[0m [["secret", "5fea2257-2215-4b21-9c77-656b51d72504"], ["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"], ["external_id", "25d78cd019bf6c65bd6f8128"]]
|
29314
|
+
[1m[35m (0.4ms)[0m COMMIT
|
29315
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1[0m [["id", 1]]
|
29316
|
+
[1m[35mPayment Load (0.2ms)[0m SELECT "payments".* FROM "payments" WHERE "payments"."id" = $1 LIMIT 1 [["id", 1]]
|
29317
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
29318
|
+
[1m[35m (9.2ms)[0m TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
|
29319
|
+
[1m[36m (0.3ms)[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
|
29320
|
+
[1m[35m (0.1ms)[0m BEGIN
|
29321
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" DEFAULT VALUES RETURNING "id"[0m
|
29322
|
+
[1m[35m (0.3ms)[0m COMMIT
|
29323
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29324
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "697bc304-5857-41a1-a50a-032bcd802864"], ["external_id", "e54d5eea7289411459313ccf"], ["sender_id", "1"], ["sender_type", "User"]]
|
29325
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
29326
|
+
[1m[35mBloomRemit::Txn Load (0.2ms)[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", "697bc304-5857-41a1-a50a-032bcd802864"]]
|
29327
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29328
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2 [["status", 1], ["id", 1]]
|
29329
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
29330
|
+
[1m[35m (0.2ms)[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
|
29331
|
+
[1m[36m (11.1ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;[0m
|
29332
|
+
[1m[35m (0.3ms)[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
|
29333
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29334
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29335
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29336
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29337
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29338
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29339
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29340
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29341
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29342
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29343
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29344
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
29345
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
29346
|
+
[1m[35m (0.2ms)[0m COMMIT
|
29347
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29348
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29349
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29350
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29351
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29352
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29353
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
29354
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29355
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29356
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29357
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29358
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29359
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29360
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29361
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29362
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29363
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29364
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
29365
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" DEFAULT VALUES RETURNING "id"[0m
|
29366
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29367
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
29368
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "b5705ec1-2454-4391-8f8b-2b28b073e575"], ["external_id", "caac881d325a5016c6e5b905"], ["sender_id", "1"], ["sender_type", "User"]]
|
29369
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29370
|
+
Started POST "/bloom_remit/api/v1/txns/1" for 127.0.0.1 at 2016-08-08 08:26:41 +0000
|
29371
|
+
Processing by BloomRemit::Api::V1::TxnsController#post_update as JSON
|
29372
|
+
Parameters: {"secret"=>"fake", "status"=>"doesn't matter", "id"=>"1", "txn"=>{"status"=>"doesn't matter", "secret"=>"fake"}}
|
29373
|
+
[1m[35mBloomRemit::Txn Load (0.6ms)[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]]
|
29374
|
+
Rendered text template (0.0ms)
|
29375
|
+
Completed 404 Not Found in 49ms (Views: 46.2ms | ActiveRecord: 0.6ms)
|
29376
|
+
Started POST "/bloom_remit/api/v1/txns/1" for 127.0.0.1 at 2016-08-08 08:26:41 +0000
|
29377
|
+
Processing by BloomRemit::Api::V1::TxnsController#post_update as JSON
|
29378
|
+
Parameters: {"secret"=>"b5705ec1-2454-4391-8f8b-2b28b073e575", "status"=>"paid", "id"=>"1", "txn"=>{"status"=>"paid", "secret"=>"b5705ec1-2454-4391-8f8b-2b28b073e575"}}
|
29379
|
+
[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", 1], ["secret", "b5705ec1-2454-4391-8f8b-2b28b073e575"]]
|
29380
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
29381
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2[0m [["status", 1], ["id", 1]]
|
29382
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29383
|
+
Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.7ms)
|
29384
|
+
[1m[36mBloomRemit::Txn Load (0.3ms)[0m [1mSELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 LIMIT 1[0m [["id", 1]]
|
29385
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
29386
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29387
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29388
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29389
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
29390
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" DEFAULT VALUES RETURNING "id"[0m
|
29391
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29392
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
29393
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "57405cae-c536-4277-b6a8-5082a31c135b"], ["external_id", "f81c288f80d0e5d614c10666"], ["sender_id", "2"], ["sender_type", "User"]]
|
29394
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29395
|
+
Started PATCH "/bloom_remit/api/v1/txns/2" for 127.0.0.1 at 2016-08-08 08:26:41 +0000
|
29396
|
+
Processing by BloomRemit::Api::V1::TxnsController#update as JSON
|
29397
|
+
Parameters: {"secret"=>"fake", "status"=>"doesn't matter", "id"=>"2", "txn"=>{"status"=>"doesn't matter", "secret"=>"fake"}}
|
29398
|
+
[1m[35mBloomRemit::Txn Load (0.2ms)[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]]
|
29399
|
+
Rendered text template (0.0ms)
|
29400
|
+
Completed 404 Not Found in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
29401
|
+
Started PATCH "/bloom_remit/api/v1/txns/2" for 127.0.0.1 at 2016-08-08 08:26:41 +0000
|
29402
|
+
Processing by BloomRemit::Api::V1::TxnsController#update as JSON
|
29403
|
+
Parameters: {"secret"=>"57405cae-c536-4277-b6a8-5082a31c135b", "status"=>"paid", "id"=>"2", "txn"=>{"status"=>"paid", "secret"=>"57405cae-c536-4277-b6a8-5082a31c135b"}}
|
29404
|
+
[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", "57405cae-c536-4277-b6a8-5082a31c135b"]]
|
29405
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
29406
|
+
[1m[36mSQL (0.7ms)[0m [1mUPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2[0m [["status", 1], ["id", 2]]
|
29407
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29408
|
+
Completed 204 No Content in 43ms (ActiveRecord: 1.3ms)
|
29409
|
+
[1m[36mBloomRemit::Txn Load (0.3ms)[0m [1mSELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 LIMIT 1[0m [["id", 2]]
|
29410
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29411
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29412
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29413
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29414
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
29415
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubUser"]]
|
29416
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29417
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
29418
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
|
29419
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29420
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
29421
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "payments" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubPayment"]]
|
29422
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29423
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
29424
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type", "external_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["secret", "0956ebf4-a6fe-4c01-8398-cfddcdb64218"], ["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"], ["external_id", "1e4d0f4981275e3b69dc6521"]]
|
29425
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29426
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29427
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29428
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29429
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29430
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29431
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29432
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29433
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29434
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
29435
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "payments" DEFAULT VALUES RETURNING "id"[0m
|
29436
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29437
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
29438
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
29439
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29440
|
+
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
29441
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "owner_id", "owner_type", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "3a38ca41-af7f-43cc-868b-4a780c2cf7c2"], ["external_id", "5a4e3b3cea9e6ac47d32c789"], ["owner_id", "2"], ["owner_type", "Payment"], ["sender_id", "4"], ["sender_type", "User"]]
|
29442
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29443
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
29444
|
+
[1m[35mSQL (0.4ms)[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 08:26:41.368193"], ["updated_at", "2016-08-08 08:26:41.368193"]]
|
29445
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
29446
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "bloom_remit_responses" WHERE "bloom_remit_responses"."txn_id" = $1 [["txn_id", 4]]
|
29447
|
+
[1m[36mBloomRemit::Response Load (0.2ms)[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]]
|
29448
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
29449
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29450
|
+
[1m[35m (0.2ms)[0m COMMIT
|
29451
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
29452
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
29453
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29454
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29455
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29456
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29457
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29458
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29459
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29460
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29461
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29462
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29463
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29464
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
29465
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29466
|
+
[1m[35m (0.1ms)[0m COMMIT
|
29467
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29468
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|