katgut 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -7410,3 +7410,2543 @@ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7410
7410
   (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7411
7411
   (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7412
7412
   (0.5ms) rollback transaction
7413
+ ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
7414
+  (1.4ms) CREATE TABLE "katgut_rules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "source" varchar NOT NULL, "destination" varchar NOT NULL, "active" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "redirection_count" integer DEFAULT 0 NOT NULL) 
7415
+  (0.4ms) select sqlite_version(*)
7416
+  (1.0ms) CREATE UNIQUE INDEX "idx_katgut_source" ON "katgut_rules" ("source")
7417
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
7418
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7419
+  (0.1ms) SELECT version FROM "schema_migrations"
7420
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160721095501')
7421
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7422
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7423
+ Migrating to CreateKatgutRules (20160704065128)
7424
+  (0.1ms) begin transaction
7425
+  (0.2ms) CREATE TABLE "katgut_rules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "source" varchar NOT NULL, "destination" varchar NOT NULL, "active" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
7426
+  (0.1ms) rollback transaction
7427
+  (9.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
7428
+  (0.1ms) select sqlite_version(*)
7429
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7430
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7431
+ Migrating to CreateKatgutRules (20160704065128)
7432
+  (0.1ms) begin transaction
7433
+  (0.4ms) CREATE TABLE "katgut_rules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "source" varchar NOT NULL, "destination" varchar NOT NULL, "active" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
7434
+  (0.3ms) CREATE UNIQUE INDEX "idx_katgut_source" ON "katgut_rules" ("source")
7435
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160704065128"]]
7436
+  (0.9ms) commit transaction
7437
+ Migrating to AddRedirectionCountToKatgutRules (20160721095501)
7438
+  (0.1ms) begin transaction
7439
+  (0.4ms) ALTER TABLE "katgut_rules" ADD "redirection_count" integer DEFAULT 0 NOT NULL
7440
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160721095501"]]
7441
+  (0.8ms) commit transaction
7442
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7443
+  (0.1ms)  SELECT sql
7444
+ FROM sqlite_master
7445
+ WHERE name='idx_katgut_source' AND type='index'
7446
+ UNION ALL
7447
+ SELECT sql
7448
+ FROM sqlite_temp_master
7449
+ WHERE name='idx_katgut_source' AND type='index'
7450
+ 
7451
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7452
+  (0.8ms) DELETE FROM "katgut_rules";
7453
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7454
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7455
+  (0.0ms) begin transaction
7456
+  (0.0ms) SAVEPOINT active_record_1
7457
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1
7458
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:12:31.336156"], ["updated_at", "2016-07-21 10:12:31.336156"]]
7459
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7460
+ Processing by Katgut::RulesController#show as HTML
7461
+ Parameters: {"id"=>"advice"}
7462
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
7463
+ Redirected to http://test.host/
7464
+ Completed 302 Found in 5ms (ActiveRecord: 0.1ms)
7465
+  (0.0ms) DELETE FROM "katgut_rules";
7466
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7467
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7468
+  (0.4ms) rollback transaction
7469
+  (0.1ms) begin transaction
7470
+  (0.0ms) SAVEPOINT active_record_1
7471
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1
7472
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:12:31.354119"], ["updated_at", "2016-07-21 10:12:31.354119"]]
7473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7474
+ Processing by Katgut::RulesController#show as HTML
7475
+ Parameters: {"id"=>"advice"}
7476
+ Katgut::Rule Load (0.0ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
7477
+ Redirected to http://test.host/
7478
+ Completed in 1ms (ActiveRecord: 0.0ms)
7479
+  (0.1ms) DELETE FROM "katgut_rules";
7480
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7481
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7482
+  (0.4ms) rollback transaction
7483
+  (0.1ms) begin transaction
7484
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
7485
+  (0.2ms) DELETE FROM "katgut_rules";
7486
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7487
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7488
+  (0.4ms) rollback transaction
7489
+  (0.0ms) begin transaction
7490
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
7491
+  (0.2ms) DELETE FROM "katgut_rules";
7492
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7493
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7494
+  (0.4ms) rollback transaction
7495
+  (0.1ms) begin transaction
7496
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
7497
+  (0.2ms) DELETE FROM "katgut_rules";
7498
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7499
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7500
+  (0.4ms) rollback transaction
7501
+  (0.0ms) begin transaction
7502
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
7503
+  (0.2ms) DELETE FROM "katgut_rules";
7504
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7505
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7506
+  (0.4ms) rollback transaction
7507
+  (0.0ms) begin transaction
7508
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
7509
+  (0.2ms) DELETE FROM "katgut_rules";
7510
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7511
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7512
+  (0.4ms) rollback transaction
7513
+  (0.1ms) begin transaction
7514
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
7515
+  (0.2ms) DELETE FROM "katgut_rules";
7516
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7517
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7518
+  (0.4ms) rollback transaction
7519
+  (0.0ms) begin transaction
7520
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
7521
+  (0.2ms) DELETE FROM "katgut_rules";
7522
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7523
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7524
+  (0.4ms) rollback transaction
7525
+  (0.1ms) begin transaction
7526
+  (0.3ms) DELETE FROM "katgut_rules";
7527
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7528
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7529
+  (0.4ms) rollback transaction
7530
+  (0.1ms) begin transaction
7531
+  (0.3ms) DELETE FROM "katgut_rules";
7532
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7533
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7534
+  (0.3ms) rollback transaction
7535
+  (0.0ms) begin transaction
7536
+  (0.2ms) DELETE FROM "katgut_rules";
7537
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7538
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7539
+  (0.4ms) rollback transaction
7540
+  (0.1ms) begin transaction
7541
+  (0.0ms) SAVEPOINT active_record_1
7542
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
7543
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-07-21 10:12:31.425172"], ["updated_at", "2016-07-21 10:12:31.425172"]]
7544
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7545
+ Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-07-21 19:12:31 +0900
7546
+ Processing by Katgut::RulesController#show as HTML
7547
+ Parameters: {"id"=>"torsitsugi_test_13"}
7548
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_13"]]
7549
+ Redirected to http://www.example.com/katgut_success.html
7550
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7551
+  (0.1ms) DELETE FROM "katgut_rules";
7552
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7553
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7554
+  (0.4ms) rollback transaction
7555
+  (0.0ms) begin transaction
7556
+  (0.0ms) SAVEPOINT active_record_1
7557
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
7558
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:12:31.439426"], ["updated_at", "2016-07-21 10:12:31.439426"]]
7559
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7560
+ Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-07-21 19:12:31 +0900
7561
+ Processing by Katgut::RulesController#show as HTML
7562
+ Parameters: {"id"=>"torsitsugi_test_14"}
7563
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_14"]]
7564
+ Redirected to https://httpbin.org/
7565
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7566
+  (0.1ms) DELETE FROM "katgut_rules";
7567
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7568
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7569
+  (0.4ms) rollback transaction
7570
+  (0.0ms) begin transaction
7571
+  (0.1ms) SAVEPOINT active_record_1
7572
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
7573
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:12:31.448930"], ["updated_at", "2016-07-21 10:12:31.448930"]]
7574
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7575
+ Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-07-21 19:12:31 +0900
7576
+ Processing by Katgut::RulesController#show as HTML
7577
+ Parameters: {"id"=>"torsitsugi_test_15"}
7578
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_15"]]
7579
+ Redirected to http://httpbin.org/
7580
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7581
+  (0.1ms) DELETE FROM "katgut_rules";
7582
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7583
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7584
+  (0.5ms) rollback transaction
7585
+  (0.0ms) begin transaction
7586
+ Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-07-21 19:12:31 +0900
7587
+ Processing by Katgut::RulesController#show as HTML
7588
+ Parameters: {"id"=>"not-existing-source-keyword"}
7589
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
7590
+ Redirected to http://www.example.com/
7591
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7592
+  (0.2ms) DELETE FROM "katgut_rules";
7593
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7594
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7595
+  (0.4ms) rollback transaction
7596
+  (0.0ms) begin transaction
7597
+  (0.0ms) SAVEPOINT active_record_1
7598
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
7599
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-07-21 10:12:31.464999"], ["updated_at", "2016-07-21 10:12:31.464999"]]
7600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7601
+ Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-07-21 19:12:31 +0900
7602
+ Processing by Katgut::RulesController#show as HTML
7603
+ Parameters: {"id"=>"torsitsugi_test_16"}
7604
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_16"]]
7605
+ Redirected to http://www.example.com/
7606
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7607
+  (0.1ms) DELETE FROM "katgut_rules";
7608
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7609
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7610
+  (0.5ms) rollback transaction
7611
+  (0.1ms) begin transaction
7612
+  (0.1ms) SAVEPOINT active_record_1
7613
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_17' LIMIT 1
7614
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_17"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:12:31.475179"], ["updated_at", "2016-07-21 10:12:31.475179"]]
7615
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7616
+  (0.1ms) DELETE FROM "katgut_rules";
7617
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7618
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7619
+  (0.5ms) rollback transaction
7620
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7621
+  (9.0ms) DELETE FROM "katgut_rules";
7622
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7623
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7624
+  (0.0ms) begin transaction
7625
+  (0.1ms) SAVEPOINT active_record_1
7626
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1
7627
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:14:34.215935"], ["updated_at", "2016-07-21 10:14:34.215935"]]
7628
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7629
+ Processing by Katgut::RulesController#show as HTML
7630
+ Parameters: {"id"=>"advice"}
7631
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
7632
+ Redirected to http://test.host/
7633
+ Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
7634
+  (0.1ms) DELETE FROM "katgut_rules";
7635
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7636
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7637
+  (0.5ms) rollback transaction
7638
+  (0.1ms) begin transaction
7639
+  (0.0ms) SAVEPOINT active_record_1
7640
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1
7641
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:14:34.230959"], ["updated_at", "2016-07-21 10:14:34.230959"]]
7642
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7643
+ Processing by Katgut::RulesController#show as HTML
7644
+ Parameters: {"id"=>"advice"}
7645
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
7646
+ Redirected to http://test.host/
7647
+ Completed in 1ms (ActiveRecord: 0.1ms)
7648
+  (0.1ms) DELETE FROM "katgut_rules";
7649
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7650
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7651
+  (0.5ms) rollback transaction
7652
+  (0.0ms) begin transaction
7653
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
7654
+  (0.2ms) DELETE FROM "katgut_rules";
7655
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7656
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7657
+  (0.4ms) rollback transaction
7658
+  (0.0ms) begin transaction
7659
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
7660
+  (0.2ms) DELETE FROM "katgut_rules";
7661
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7662
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7663
+  (0.4ms) rollback transaction
7664
+  (0.1ms) begin transaction
7665
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
7666
+  (0.3ms) DELETE FROM "katgut_rules";
7667
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7668
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7669
+  (0.3ms) rollback transaction
7670
+  (0.0ms) begin transaction
7671
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
7672
+  (0.2ms) DELETE FROM "katgut_rules";
7673
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7674
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7675
+  (0.4ms) rollback transaction
7676
+  (0.0ms) begin transaction
7677
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
7678
+  (0.3ms) DELETE FROM "katgut_rules";
7679
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7680
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7681
+  (0.4ms) rollback transaction
7682
+  (0.1ms) begin transaction
7683
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
7684
+  (0.2ms) DELETE FROM "katgut_rules";
7685
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7686
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7687
+  (0.4ms) rollback transaction
7688
+  (0.1ms) begin transaction
7689
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
7690
+  (0.2ms) DELETE FROM "katgut_rules";
7691
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7692
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7693
+  (0.4ms) rollback transaction
7694
+  (0.0ms) begin transaction
7695
+  (0.2ms) DELETE FROM "katgut_rules";
7696
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7697
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7698
+  (0.4ms) rollback transaction
7699
+  (0.1ms) begin transaction
7700
+  (0.2ms) DELETE FROM "katgut_rules";
7701
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7702
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7703
+  (0.4ms) rollback transaction
7704
+  (0.1ms) begin transaction
7705
+  (0.2ms) DELETE FROM "katgut_rules";
7706
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7707
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7708
+  (0.4ms) rollback transaction
7709
+  (0.1ms) begin transaction
7710
+  (0.0ms) SAVEPOINT active_record_1
7711
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
7712
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-07-21 10:14:34.291079"], ["updated_at", "2016-07-21 10:14:34.291079"]]
7713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7714
+ Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-07-21 19:14:34 +0900
7715
+ Processing by Katgut::RulesController#show as HTML
7716
+ Parameters: {"id"=>"torsitsugi_test_13"}
7717
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_13"]]
7718
+ Redirected to http://www.example.com/katgut_success.html
7719
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7720
+  (0.1ms) DELETE FROM "katgut_rules";
7721
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7722
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7723
+  (0.4ms) rollback transaction
7724
+  (0.0ms) begin transaction
7725
+  (0.0ms) SAVEPOINT active_record_1
7726
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
7727
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:14:34.304702"], ["updated_at", "2016-07-21 10:14:34.304702"]]
7728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7729
+ Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-07-21 19:14:34 +0900
7730
+ Processing by Katgut::RulesController#show as HTML
7731
+ Parameters: {"id"=>"torsitsugi_test_14"}
7732
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_14"]]
7733
+ Redirected to https://httpbin.org/
7734
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
7735
+  (0.1ms) DELETE FROM "katgut_rules";
7736
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7737
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7738
+  (0.5ms) rollback transaction
7739
+  (0.1ms) begin transaction
7740
+  (0.0ms) SAVEPOINT active_record_1
7741
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
7742
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:14:34.314559"], ["updated_at", "2016-07-21 10:14:34.314559"]]
7743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7744
+ Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-07-21 19:14:34 +0900
7745
+ Processing by Katgut::RulesController#show as HTML
7746
+ Parameters: {"id"=>"torsitsugi_test_15"}
7747
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_15"]]
7748
+ Redirected to http://httpbin.org/
7749
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7750
+  (0.1ms) DELETE FROM "katgut_rules";
7751
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7752
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7753
+  (0.5ms) rollback transaction
7754
+  (0.1ms) begin transaction
7755
+ Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-07-21 19:14:34 +0900
7756
+ Processing by Katgut::RulesController#show as HTML
7757
+ Parameters: {"id"=>"not-existing-source-keyword"}
7758
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
7759
+ Redirected to http://www.example.com/
7760
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7761
+  (0.2ms) DELETE FROM "katgut_rules";
7762
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7763
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7764
+  (0.4ms) rollback transaction
7765
+  (0.0ms) begin transaction
7766
+  (0.0ms) SAVEPOINT active_record_1
7767
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
7768
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-07-21 10:14:34.331518"], ["updated_at", "2016-07-21 10:14:34.331518"]]
7769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7770
+ Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-07-21 19:14:34 +0900
7771
+ Processing by Katgut::RulesController#show as HTML
7772
+ Parameters: {"id"=>"torsitsugi_test_16"}
7773
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_16"]]
7774
+ Redirected to http://www.example.com/
7775
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7776
+  (0.1ms) DELETE FROM "katgut_rules";
7777
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7778
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7779
+  (0.4ms) rollback transaction
7780
+  (0.1ms) begin transaction
7781
+  (0.1ms) SAVEPOINT active_record_1
7782
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_17' LIMIT 1
7783
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_17"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:14:34.342945"], ["updated_at", "2016-07-21 10:14:34.342945"]]
7784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7785
+ Started GET "/katgut/torsitsugi_test_17" for 127.0.0.1 at 2016-07-21 19:14:34 +0900
7786
+ Processing by Katgut::RulesController#show as HTML
7787
+ Parameters: {"id"=>"torsitsugi_test_17"}
7788
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_17"]]
7789
+ Redirected to https://httpbin.org/
7790
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7791
+  (0.1ms) DELETE FROM "katgut_rules";
7792
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7793
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7794
+  (0.4ms) rollback transaction
7795
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
7796
+  (2.0ms) DELETE FROM "katgut_rules";
7797
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7798
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7799
+  (0.1ms) begin transaction
7800
+  (0.1ms) SAVEPOINT active_record_1
7801
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1
7802
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:27:17.662718"], ["updated_at", "2016-07-21 10:27:17.662718"]]
7803
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7804
+ Processing by Katgut::RulesController#show as HTML
7805
+ Parameters: {"id"=>"advice"}
7806
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
7807
+ Redirected to http://test.host/
7808
+ Completed 302 Found in 6ms (ActiveRecord: 0.1ms)
7809
+  (0.1ms) DELETE FROM "katgut_rules";
7810
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7811
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7812
+  (0.5ms) rollback transaction
7813
+  (0.1ms) begin transaction
7814
+  (0.0ms) SAVEPOINT active_record_1
7815
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1
7816
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:27:17.679644"], ["updated_at", "2016-07-21 10:27:17.679644"]]
7817
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7818
+ Processing by Katgut::RulesController#show as HTML
7819
+ Parameters: {"id"=>"advice"}
7820
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
7821
+ Redirected to http://test.host/
7822
+ Completed in 1ms (ActiveRecord: 0.1ms)
7823
+  (0.1ms) DELETE FROM "katgut_rules";
7824
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7825
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7826
+  (0.5ms) rollback transaction
7827
+  (0.1ms) begin transaction
7828
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
7829
+  (0.2ms) DELETE FROM "katgut_rules";
7830
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7831
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7832
+  (0.4ms) rollback transaction
7833
+  (0.1ms) begin transaction
7834
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
7835
+  (0.3ms) DELETE FROM "katgut_rules";
7836
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7837
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7838
+  (0.4ms) rollback transaction
7839
+  (0.1ms) begin transaction
7840
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
7841
+  (0.3ms) DELETE FROM "katgut_rules";
7842
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7843
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7844
+  (0.4ms) rollback transaction
7845
+  (0.1ms) begin transaction
7846
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
7847
+  (0.2ms) DELETE FROM "katgut_rules";
7848
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7849
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7850
+  (0.4ms) rollback transaction
7851
+  (0.1ms) begin transaction
7852
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
7853
+  (0.2ms) DELETE FROM "katgut_rules";
7854
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7855
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7856
+  (0.4ms) rollback transaction
7857
+  (0.0ms) begin transaction
7858
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
7859
+  (0.2ms) DELETE FROM "katgut_rules";
7860
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7861
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7862
+  (0.3ms) rollback transaction
7863
+  (0.0ms) begin transaction
7864
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
7865
+  (0.2ms) DELETE FROM "katgut_rules";
7866
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7867
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7868
+  (0.5ms) rollback transaction
7869
+  (0.1ms) begin transaction
7870
+  (0.3ms) DELETE FROM "katgut_rules";
7871
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7872
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7873
+  (0.4ms) rollback transaction
7874
+  (0.1ms) begin transaction
7875
+  (0.2ms) DELETE FROM "katgut_rules";
7876
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7877
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7878
+  (0.4ms) rollback transaction
7879
+  (0.1ms) begin transaction
7880
+  (0.2ms) DELETE FROM "katgut_rules";
7881
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7882
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7883
+  (0.3ms) rollback transaction
7884
+  (0.1ms) begin transaction
7885
+  (0.0ms) SAVEPOINT active_record_1
7886
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
7887
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-07-21 10:27:17.749876"], ["updated_at", "2016-07-21 10:27:17.749876"]]
7888
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7889
+ Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-07-21 19:27:17 +0900
7890
+ Processing by Katgut::RulesController#show as HTML
7891
+ Parameters: {"id"=>"torsitsugi_test_13"}
7892
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_13"]]
7893
+ Redirected to http://www.example.com/katgut_success.html
7894
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7895
+  (0.1ms) DELETE FROM "katgut_rules";
7896
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7897
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7898
+  (0.4ms) rollback transaction
7899
+  (0.1ms) begin transaction
7900
+  (0.1ms) SAVEPOINT active_record_1
7901
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
7902
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:27:17.763199"], ["updated_at", "2016-07-21 10:27:17.763199"]]
7903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7904
+ Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-07-21 19:27:17 +0900
7905
+ Processing by Katgut::RulesController#show as HTML
7906
+ Parameters: {"id"=>"torsitsugi_test_14"}
7907
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_14"]]
7908
+ Redirected to https://httpbin.org/
7909
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7910
+  (0.1ms) DELETE FROM "katgut_rules";
7911
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7912
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7913
+  (0.4ms) rollback transaction
7914
+  (0.1ms) begin transaction
7915
+  (0.0ms) SAVEPOINT active_record_1
7916
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
7917
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:27:17.772901"], ["updated_at", "2016-07-21 10:27:17.772901"]]
7918
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7919
+ Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-07-21 19:27:17 +0900
7920
+ Processing by Katgut::RulesController#show as HTML
7921
+ Parameters: {"id"=>"torsitsugi_test_15"}
7922
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_15"]]
7923
+ Redirected to http://httpbin.org/
7924
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7925
+  (0.1ms) DELETE FROM "katgut_rules";
7926
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7927
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7928
+  (0.5ms) rollback transaction
7929
+  (0.0ms) begin transaction
7930
+ Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-07-21 19:27:17 +0900
7931
+ Processing by Katgut::RulesController#show as HTML
7932
+ Parameters: {"id"=>"not-existing-source-keyword"}
7933
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
7934
+ Redirected to http://www.example.com/
7935
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7936
+  (0.2ms) DELETE FROM "katgut_rules";
7937
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7938
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7939
+  (0.4ms) rollback transaction
7940
+  (0.1ms) begin transaction
7941
+  (0.0ms) SAVEPOINT active_record_1
7942
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
7943
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-07-21 10:27:17.789196"], ["updated_at", "2016-07-21 10:27:17.789196"]]
7944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7945
+ Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-07-21 19:27:17 +0900
7946
+ Processing by Katgut::RulesController#show as HTML
7947
+ Parameters: {"id"=>"torsitsugi_test_16"}
7948
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_16"]]
7949
+ Redirected to http://www.example.com/
7950
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
7951
+  (0.1ms) DELETE FROM "katgut_rules";
7952
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7953
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7954
+  (0.5ms) rollback transaction
7955
+  (0.1ms) begin transaction
7956
+  (0.1ms) SAVEPOINT active_record_1
7957
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_17' LIMIT 1
7958
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_17"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:27:17.799115"], ["updated_at", "2016-07-21 10:27:17.799115"]]
7959
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7960
+ Started GET "/katgut/torsitsugi_test_17" for 127.0.0.1 at 2016-07-21 19:27:17 +0900
7961
+ Processing by Katgut::RulesController#show as HTML
7962
+ Parameters: {"id"=>"torsitsugi_test_17"}
7963
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_17"]]
7964
+ Redirected to https://httpbin.org/
7965
+ Redirected to
7966
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
7967
+  (0.1ms) DELETE FROM "katgut_rules";
7968
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7969
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7970
+  (0.5ms) rollback transaction
7971
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7972
+  (9.7ms) DELETE FROM "katgut_rules";
7973
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7974
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7975
+  (0.1ms) begin transaction
7976
+  (0.1ms) SAVEPOINT active_record_1
7977
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1
7978
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:27:48.085987"], ["updated_at", "2016-07-21 10:27:48.085987"]]
7979
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7980
+ Processing by Katgut::RulesController#show as HTML
7981
+ Parameters: {"id"=>"advice"}
7982
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
7983
+ Redirected to http://test.host/
7984
+ Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
7985
+  (0.1ms) DELETE FROM "katgut_rules";
7986
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7987
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
7988
+  (0.5ms) rollback transaction
7989
+  (0.1ms) begin transaction
7990
+  (0.1ms) SAVEPOINT active_record_1
7991
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1
7992
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:27:48.101452"], ["updated_at", "2016-07-21 10:27:48.101452"]]
7993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7994
+ Processing by Katgut::RulesController#show as HTML
7995
+ Parameters: {"id"=>"advice"}
7996
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
7997
+ Redirected to http://test.host/
7998
+ Completed in 1ms (ActiveRecord: 0.1ms)
7999
+  (0.1ms) DELETE FROM "katgut_rules";
8000
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8001
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8002
+  (0.5ms) rollback transaction
8003
+  (0.1ms) begin transaction
8004
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
8005
+  (0.2ms) DELETE FROM "katgut_rules";
8006
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8007
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8008
+  (0.4ms) rollback transaction
8009
+  (0.0ms) begin transaction
8010
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
8011
+  (0.3ms) DELETE FROM "katgut_rules";
8012
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8013
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8014
+  (0.4ms) rollback transaction
8015
+  (0.1ms) begin transaction
8016
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
8017
+  (0.2ms) DELETE FROM "katgut_rules";
8018
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8019
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8020
+  (0.4ms) rollback transaction
8021
+  (0.1ms) begin transaction
8022
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
8023
+  (0.2ms) DELETE FROM "katgut_rules";
8024
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8025
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8026
+  (0.4ms) rollback transaction
8027
+  (0.0ms) begin transaction
8028
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
8029
+  (0.3ms) DELETE FROM "katgut_rules";
8030
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8031
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8032
+  (0.4ms) rollback transaction
8033
+  (0.0ms) begin transaction
8034
+ Katgut::Rule Exists (0.3ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
8035
+  (0.2ms) DELETE FROM "katgut_rules";
8036
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8037
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8038
+  (0.4ms) rollback transaction
8039
+  (0.1ms) begin transaction
8040
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
8041
+  (0.2ms) DELETE FROM "katgut_rules";
8042
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8043
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8044
+  (0.4ms) rollback transaction
8045
+  (0.1ms) begin transaction
8046
+  (0.2ms) DELETE FROM "katgut_rules";
8047
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8048
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8049
+  (0.4ms) rollback transaction
8050
+  (0.1ms) begin transaction
8051
+  (0.2ms) DELETE FROM "katgut_rules";
8052
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8053
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8054
+  (0.4ms) rollback transaction
8055
+  (0.1ms) begin transaction
8056
+  (0.2ms) DELETE FROM "katgut_rules";
8057
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8058
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8059
+  (0.4ms) rollback transaction
8060
+  (0.1ms) begin transaction
8061
+  (0.0ms) SAVEPOINT active_record_1
8062
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
8063
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-07-21 10:27:48.163141"], ["updated_at", "2016-07-21 10:27:48.163141"]]
8064
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8065
+ Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-07-21 19:27:48 +0900
8066
+ Processing by Katgut::RulesController#show as HTML
8067
+ Parameters: {"id"=>"torsitsugi_test_13"}
8068
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_13"]]
8069
+ Redirected to http://www.example.com/katgut_success.html
8070
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8071
+  (0.1ms) DELETE FROM "katgut_rules";
8072
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8073
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8074
+  (0.5ms) rollback transaction
8075
+  (0.1ms) begin transaction
8076
+  (0.0ms) SAVEPOINT active_record_1
8077
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
8078
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:27:48.176691"], ["updated_at", "2016-07-21 10:27:48.176691"]]
8079
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8080
+ Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-07-21 19:27:48 +0900
8081
+ Processing by Katgut::RulesController#show as HTML
8082
+ Parameters: {"id"=>"torsitsugi_test_14"}
8083
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_14"]]
8084
+ Redirected to https://httpbin.org/
8085
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
8086
+  (0.1ms) DELETE FROM "katgut_rules";
8087
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8088
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8089
+  (0.4ms) rollback transaction
8090
+  (0.1ms) begin transaction
8091
+  (0.0ms) SAVEPOINT active_record_1
8092
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
8093
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:27:48.187442"], ["updated_at", "2016-07-21 10:27:48.187442"]]
8094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8095
+ Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-07-21 19:27:48 +0900
8096
+ Processing by Katgut::RulesController#show as HTML
8097
+ Parameters: {"id"=>"torsitsugi_test_15"}
8098
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_15"]]
8099
+ Redirected to http://httpbin.org/
8100
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8101
+  (0.1ms) DELETE FROM "katgut_rules";
8102
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8103
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8104
+  (0.4ms) rollback transaction
8105
+  (0.1ms) begin transaction
8106
+ Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-07-21 19:27:48 +0900
8107
+ Processing by Katgut::RulesController#show as HTML
8108
+ Parameters: {"id"=>"not-existing-source-keyword"}
8109
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
8110
+ Redirected to http://www.example.com/
8111
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8112
+  (0.2ms) DELETE FROM "katgut_rules";
8113
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8114
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8115
+  (0.4ms) rollback transaction
8116
+  (0.1ms) begin transaction
8117
+  (0.0ms) SAVEPOINT active_record_1
8118
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
8119
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-07-21 10:27:48.204099"], ["updated_at", "2016-07-21 10:27:48.204099"]]
8120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8121
+ Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-07-21 19:27:48 +0900
8122
+ Processing by Katgut::RulesController#show as HTML
8123
+ Parameters: {"id"=>"torsitsugi_test_16"}
8124
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_16"]]
8125
+ Redirected to http://www.example.com/
8126
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
8127
+  (0.1ms) DELETE FROM "katgut_rules";
8128
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8129
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8130
+  (0.4ms) rollback transaction
8131
+  (0.1ms) begin transaction
8132
+  (0.1ms) SAVEPOINT active_record_1
8133
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_17' LIMIT 1
8134
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_17"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:27:48.215839"], ["updated_at", "2016-07-21 10:27:48.215839"]]
8135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8136
+ Started GET "/katgut/torsitsugi_test_17" for 127.0.0.1 at 2016-07-21 19:27:48 +0900
8137
+ Processing by Katgut::RulesController#show as HTML
8138
+ Parameters: {"id"=>"torsitsugi_test_17"}
8139
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_17"]]
8140
+ Redirected to https://httpbin.org/
8141
+ SQL (0.3ms) UPDATE "katgut_rules" SET "redirection_count" = 1 WHERE "katgut_rules"."id" = ? [["id", 1]]
8142
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
8143
+  (0.1ms) DELETE FROM "katgut_rules";
8144
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8145
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8146
+  (0.7ms) rollback transaction
8147
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8148
+  (9.4ms) DELETE FROM "katgut_rules";
8149
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8150
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8151
+  (0.1ms) begin transaction
8152
+  (0.0ms) SAVEPOINT active_record_1
8153
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1
8154
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:28:19.143464"], ["updated_at", "2016-07-21 10:28:19.143464"]]
8155
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8156
+ Processing by Katgut::RulesController#show as HTML
8157
+ Parameters: {"id"=>"advice"}
8158
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
8159
+ Redirected to http://test.host/
8160
+ Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
8161
+  (0.1ms) DELETE FROM "katgut_rules";
8162
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8163
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8164
+  (0.4ms) rollback transaction
8165
+  (0.1ms) begin transaction
8166
+  (0.0ms) SAVEPOINT active_record_1
8167
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1
8168
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:28:19.158724"], ["updated_at", "2016-07-21 10:28:19.158724"]]
8169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8170
+ Processing by Katgut::RulesController#show as HTML
8171
+ Parameters: {"id"=>"advice"}
8172
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
8173
+ Redirected to http://test.host/
8174
+ Completed in 1ms (ActiveRecord: 0.1ms)
8175
+  (0.1ms) DELETE FROM "katgut_rules";
8176
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8177
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8178
+  (0.5ms) rollback transaction
8179
+  (0.0ms) begin transaction
8180
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
8181
+  (0.2ms) DELETE FROM "katgut_rules";
8182
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8183
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8184
+  (0.3ms) rollback transaction
8185
+  (0.0ms) begin transaction
8186
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
8187
+  (0.2ms) DELETE FROM "katgut_rules";
8188
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8189
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8190
+  (0.4ms) rollback transaction
8191
+  (0.1ms) begin transaction
8192
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
8193
+  (0.2ms) DELETE FROM "katgut_rules";
8194
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8195
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8196
+  (0.3ms) rollback transaction
8197
+  (0.2ms) begin transaction
8198
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
8199
+  (0.2ms) DELETE FROM "katgut_rules";
8200
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8201
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8202
+  (0.4ms) rollback transaction
8203
+  (0.0ms) begin transaction
8204
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
8205
+  (0.2ms) DELETE FROM "katgut_rules";
8206
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8207
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8208
+  (0.4ms) rollback transaction
8209
+  (0.0ms) begin transaction
8210
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
8211
+  (0.2ms) DELETE FROM "katgut_rules";
8212
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8213
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8214
+  (0.3ms) rollback transaction
8215
+  (0.0ms) begin transaction
8216
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
8217
+  (0.3ms) DELETE FROM "katgut_rules";
8218
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8219
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8220
+  (0.4ms) rollback transaction
8221
+  (0.1ms) begin transaction
8222
+  (0.3ms) DELETE FROM "katgut_rules";
8223
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8224
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8225
+  (0.3ms) rollback transaction
8226
+  (0.1ms) begin transaction
8227
+  (0.2ms) DELETE FROM "katgut_rules";
8228
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8229
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8230
+  (0.4ms) rollback transaction
8231
+  (0.1ms) begin transaction
8232
+  (0.2ms) DELETE FROM "katgut_rules";
8233
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8234
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8235
+  (0.4ms) rollback transaction
8236
+  (0.1ms) begin transaction
8237
+  (0.0ms) SAVEPOINT active_record_1
8238
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
8239
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-07-21 10:28:19.219625"], ["updated_at", "2016-07-21 10:28:19.219625"]]
8240
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8241
+ Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-07-21 19:28:19 +0900
8242
+ Processing by Katgut::RulesController#show as HTML
8243
+ Parameters: {"id"=>"torsitsugi_test_13"}
8244
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_13"]]
8245
+ Redirected to http://www.example.com/katgut_success.html
8246
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8247
+  (0.1ms) DELETE FROM "katgut_rules";
8248
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8249
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8250
+  (0.4ms) rollback transaction
8251
+  (0.1ms) begin transaction
8252
+  (0.0ms) SAVEPOINT active_record_1
8253
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
8254
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:28:19.233006"], ["updated_at", "2016-07-21 10:28:19.233006"]]
8255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8256
+ Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-07-21 19:28:19 +0900
8257
+ Processing by Katgut::RulesController#show as HTML
8258
+ Parameters: {"id"=>"torsitsugi_test_14"}
8259
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_14"]]
8260
+ Redirected to https://httpbin.org/
8261
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8262
+  (0.1ms) DELETE FROM "katgut_rules";
8263
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8264
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8265
+  (0.5ms) rollback transaction
8266
+  (0.1ms) begin transaction
8267
+  (0.0ms) SAVEPOINT active_record_1
8268
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
8269
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:28:19.241896"], ["updated_at", "2016-07-21 10:28:19.241896"]]
8270
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8271
+ Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-07-21 19:28:19 +0900
8272
+ Processing by Katgut::RulesController#show as HTML
8273
+ Parameters: {"id"=>"torsitsugi_test_15"}
8274
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_15"]]
8275
+ Redirected to http://httpbin.org/
8276
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8277
+  (0.1ms) DELETE FROM "katgut_rules";
8278
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8279
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8280
+  (0.4ms) rollback transaction
8281
+  (0.1ms) begin transaction
8282
+ Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-07-21 19:28:19 +0900
8283
+ Processing by Katgut::RulesController#show as HTML
8284
+ Parameters: {"id"=>"not-existing-source-keyword"}
8285
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
8286
+ Redirected to http://www.example.com/
8287
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8288
+  (0.2ms) DELETE FROM "katgut_rules";
8289
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8290
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8291
+  (0.4ms) rollback transaction
8292
+  (0.1ms) begin transaction
8293
+  (0.0ms) SAVEPOINT active_record_1
8294
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
8295
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-07-21 10:28:19.258628"], ["updated_at", "2016-07-21 10:28:19.258628"]]
8296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8297
+ Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-07-21 19:28:19 +0900
8298
+ Processing by Katgut::RulesController#show as HTML
8299
+ Parameters: {"id"=>"torsitsugi_test_16"}
8300
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_16"]]
8301
+ Redirected to http://www.example.com/
8302
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8303
+  (0.1ms) DELETE FROM "katgut_rules";
8304
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8305
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8306
+  (0.4ms) rollback transaction
8307
+  (0.1ms) begin transaction
8308
+  (0.1ms) SAVEPOINT active_record_1
8309
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_17' LIMIT 1
8310
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_17"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:28:19.268090"], ["updated_at", "2016-07-21 10:28:19.268090"]]
8311
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8312
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."id" = ? LIMIT 1 [["id", 1]]
8313
+ Started GET "/katgut/torsitsugi_test_17" for 127.0.0.1 at 2016-07-21 19:28:19 +0900
8314
+ Processing by Katgut::RulesController#show as HTML
8315
+ Parameters: {"id"=>"torsitsugi_test_17"}
8316
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_17"]]
8317
+ Redirected to https://httpbin.org/
8318
+ SQL (0.3ms) UPDATE "katgut_rules" SET "redirection_count" = 1 WHERE "katgut_rules"."id" = ? [["id", 1]]
8319
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
8320
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."id" = ? LIMIT 1 [["id", 1]]
8321
+  (0.1ms) DELETE FROM "katgut_rules";
8322
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8323
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8324
+  (0.7ms) rollback transaction
8325
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8326
+  (1.0ms) DELETE FROM "katgut_rules";
8327
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8328
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8329
+  (0.1ms) begin transaction
8330
+  (0.0ms) SAVEPOINT active_record_1
8331
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1
8332
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:29:38.106008"], ["updated_at", "2016-07-21 10:29:38.106008"]]
8333
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8334
+ Processing by Katgut::RulesController#show as HTML
8335
+ Parameters: {"id"=>"advice"}
8336
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
8337
+ Redirected to http://test.host/
8338
+ Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
8339
+  (0.1ms) DELETE FROM "katgut_rules";
8340
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8341
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8342
+  (0.5ms) rollback transaction
8343
+  (0.1ms) begin transaction
8344
+  (0.1ms) SAVEPOINT active_record_1
8345
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1
8346
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:29:38.121351"], ["updated_at", "2016-07-21 10:29:38.121351"]]
8347
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8348
+ Processing by Katgut::RulesController#show as HTML
8349
+ Parameters: {"id"=>"advice"}
8350
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
8351
+ Redirected to http://test.host/
8352
+ Completed in 1ms (ActiveRecord: 0.1ms)
8353
+  (0.1ms) DELETE FROM "katgut_rules";
8354
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8355
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8356
+  (0.4ms) rollback transaction
8357
+  (0.0ms) begin transaction
8358
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
8359
+  (0.2ms) DELETE FROM "katgut_rules";
8360
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8361
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8362
+  (0.4ms) rollback transaction
8363
+  (0.1ms) begin transaction
8364
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
8365
+  (0.3ms) DELETE FROM "katgut_rules";
8366
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8367
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8368
+  (0.5ms) rollback transaction
8369
+  (0.1ms) begin transaction
8370
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
8371
+  (0.2ms) DELETE FROM "katgut_rules";
8372
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8373
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8374
+  (0.5ms) rollback transaction
8375
+  (0.1ms) begin transaction
8376
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
8377
+  (0.5ms) DELETE FROM "katgut_rules";
8378
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8379
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8380
+  (0.4ms) rollback transaction
8381
+  (0.1ms) begin transaction
8382
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
8383
+  (0.2ms) DELETE FROM "katgut_rules";
8384
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8385
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8386
+  (0.4ms) rollback transaction
8387
+  (0.0ms) begin transaction
8388
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
8389
+  (0.2ms) DELETE FROM "katgut_rules";
8390
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8391
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8392
+  (0.4ms) rollback transaction
8393
+  (0.1ms) begin transaction
8394
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
8395
+  (0.2ms) DELETE FROM "katgut_rules";
8396
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8397
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8398
+  (0.4ms) rollback transaction
8399
+  (0.1ms) begin transaction
8400
+  (0.3ms) DELETE FROM "katgut_rules";
8401
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8402
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8403
+  (0.4ms) rollback transaction
8404
+  (0.1ms) begin transaction
8405
+  (0.4ms) DELETE FROM "katgut_rules";
8406
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8407
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8408
+  (0.4ms) rollback transaction
8409
+  (0.1ms) begin transaction
8410
+  (0.2ms) DELETE FROM "katgut_rules";
8411
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8412
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8413
+  (0.4ms) rollback transaction
8414
+  (0.0ms) begin transaction
8415
+  (0.0ms) SAVEPOINT active_record_1
8416
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
8417
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-07-21 10:29:38.182471"], ["updated_at", "2016-07-21 10:29:38.182471"]]
8418
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8419
+ Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-07-21 19:29:38 +0900
8420
+ Processing by Katgut::RulesController#show as HTML
8421
+ Parameters: {"id"=>"torsitsugi_test_13"}
8422
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_13"]]
8423
+ Redirected to http://www.example.com/katgut_success.html
8424
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8425
+  (0.1ms) DELETE FROM "katgut_rules";
8426
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8427
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8428
+  (0.4ms) rollback transaction
8429
+  (0.1ms) begin transaction
8430
+  (0.0ms) SAVEPOINT active_record_1
8431
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
8432
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:29:38.197076"], ["updated_at", "2016-07-21 10:29:38.197076"]]
8433
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8434
+ Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-07-21 19:29:38 +0900
8435
+ Processing by Katgut::RulesController#show as HTML
8436
+ Parameters: {"id"=>"torsitsugi_test_14"}
8437
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_14"]]
8438
+ Redirected to https://httpbin.org/
8439
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8440
+  (0.1ms) DELETE FROM "katgut_rules";
8441
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8442
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8443
+  (0.6ms) rollback transaction
8444
+  (0.1ms) begin transaction
8445
+  (0.0ms) SAVEPOINT active_record_1
8446
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
8447
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:29:38.207660"], ["updated_at", "2016-07-21 10:29:38.207660"]]
8448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8449
+ Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-07-21 19:29:38 +0900
8450
+ Processing by Katgut::RulesController#show as HTML
8451
+ Parameters: {"id"=>"torsitsugi_test_15"}
8452
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_15"]]
8453
+ Redirected to http://httpbin.org/
8454
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8455
+  (0.1ms) DELETE FROM "katgut_rules";
8456
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8457
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8458
+  (0.5ms) rollback transaction
8459
+  (0.0ms) begin transaction
8460
+ Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-07-21 19:29:38 +0900
8461
+ Processing by Katgut::RulesController#show as HTML
8462
+ Parameters: {"id"=>"not-existing-source-keyword"}
8463
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
8464
+ Redirected to http://www.example.com/
8465
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8466
+  (0.2ms) DELETE FROM "katgut_rules";
8467
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8468
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8469
+  (0.5ms) rollback transaction
8470
+  (0.1ms) begin transaction
8471
+  (0.0ms) SAVEPOINT active_record_1
8472
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
8473
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-07-21 10:29:38.224230"], ["updated_at", "2016-07-21 10:29:38.224230"]]
8474
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8475
+ Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-07-21 19:29:38 +0900
8476
+ Processing by Katgut::RulesController#show as HTML
8477
+ Parameters: {"id"=>"torsitsugi_test_16"}
8478
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_16"]]
8479
+ Redirected to http://www.example.com/
8480
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8481
+  (0.1ms) DELETE FROM "katgut_rules";
8482
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8483
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8484
+  (0.4ms) rollback transaction
8485
+  (0.1ms) begin transaction
8486
+  (0.1ms) SAVEPOINT active_record_1
8487
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_17' LIMIT 1
8488
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_17"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:29:38.234362"], ["updated_at", "2016-07-21 10:29:38.234362"]]
8489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8490
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."id" = ? LIMIT 1 [["id", 1]]
8491
+ Started GET "/katgut/torsitsugi_test_17" for 127.0.0.1 at 2016-07-21 19:29:38 +0900
8492
+ Processing by Katgut::RulesController#show as HTML
8493
+ Parameters: {"id"=>"torsitsugi_test_17"}
8494
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_17"]]
8495
+ Redirected to https://httpbin.org/
8496
+ SQL (0.3ms) UPDATE "katgut_rules" SET "redirection_count" = 1 WHERE "katgut_rules"."id" = ? [["id", 1]]
8497
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
8498
+ Katgut::Rule Load (0.0ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."id" = ? LIMIT 1 [["id", 1]]
8499
+  (0.0ms) DELETE FROM "katgut_rules";
8500
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8501
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8502
+  (0.6ms) rollback transaction
8503
+  (0.0ms) begin transaction
8504
+  (0.0ms) SAVEPOINT active_record_1
8505
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_18' LIMIT 1
8506
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_18"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:29:38.248630"], ["updated_at", "2016-07-21 10:29:38.248630"]]
8507
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8508
+ Katgut::Rule Load (0.0ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."id" = ? LIMIT 1 [["id", 1]]
8509
+ Started GET "/katgut/torsitsugi_test_18" for 127.0.0.1 at 2016-07-21 19:29:38 +0900
8510
+ Processing by Katgut::RulesController#show as HTML
8511
+ Parameters: {"id"=>"torsitsugi_test_18"}
8512
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_18"]]
8513
+ Redirected to https://httpbin.org/
8514
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8515
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."id" = ? LIMIT 1 [["id", 1]]
8516
+  (0.1ms) DELETE FROM "katgut_rules";
8517
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8518
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8519
+  (0.5ms) rollback transaction
8520
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8521
+  (9.0ms) DELETE FROM "katgut_rules";
8522
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8523
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8524
+  (0.0ms) begin transaction
8525
+  (0.0ms) SAVEPOINT active_record_1
8526
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1
8527
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:30:01.489615"], ["updated_at", "2016-07-21 10:30:01.489615"]]
8528
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8529
+ Processing by Katgut::RulesController#show as HTML
8530
+ Parameters: {"id"=>"advice"}
8531
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
8532
+ Redirected to http://test.host/
8533
+ Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
8534
+  (0.1ms) DELETE FROM "katgut_rules";
8535
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8536
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8537
+  (0.4ms) rollback transaction
8538
+  (0.1ms) begin transaction
8539
+  (0.0ms) SAVEPOINT active_record_1
8540
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1
8541
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:30:01.503711"], ["updated_at", "2016-07-21 10:30:01.503711"]]
8542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8543
+ Processing by Katgut::RulesController#show as HTML
8544
+ Parameters: {"id"=>"advice"}
8545
+ Katgut::Rule Load (0.0ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
8546
+ Redirected to http://test.host/
8547
+ Completed in 1ms (ActiveRecord: 0.0ms)
8548
+  (0.1ms) DELETE FROM "katgut_rules";
8549
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8550
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8551
+  (0.5ms) rollback transaction
8552
+  (0.1ms) begin transaction
8553
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
8554
+  (0.2ms) DELETE FROM "katgut_rules";
8555
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8556
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8557
+  (0.4ms) rollback transaction
8558
+  (0.0ms) begin transaction
8559
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
8560
+  (0.2ms) DELETE FROM "katgut_rules";
8561
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8562
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8563
+  (0.4ms) rollback transaction
8564
+  (0.1ms) begin transaction
8565
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
8566
+  (0.2ms) DELETE FROM "katgut_rules";
8567
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8568
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8569
+  (0.4ms) rollback transaction
8570
+  (0.0ms) begin transaction
8571
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
8572
+  (0.4ms) DELETE FROM "katgut_rules";
8573
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8574
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8575
+  (0.4ms) rollback transaction
8576
+  (0.0ms) begin transaction
8577
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
8578
+  (0.3ms) DELETE FROM "katgut_rules";
8579
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8580
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8581
+  (0.4ms) rollback transaction
8582
+  (0.1ms) begin transaction
8583
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
8584
+  (0.2ms) DELETE FROM "katgut_rules";
8585
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8586
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8587
+  (0.4ms) rollback transaction
8588
+  (0.0ms) begin transaction
8589
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
8590
+  (0.2ms) DELETE FROM "katgut_rules";
8591
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8592
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8593
+  (0.4ms) rollback transaction
8594
+  (0.1ms) begin transaction
8595
+  (0.2ms) DELETE FROM "katgut_rules";
8596
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8597
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8598
+  (0.4ms) rollback transaction
8599
+  (0.1ms) begin transaction
8600
+  (0.2ms) DELETE FROM "katgut_rules";
8601
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8602
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8603
+  (0.4ms) rollback transaction
8604
+  (0.1ms) begin transaction
8605
+  (0.2ms) DELETE FROM "katgut_rules";
8606
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8607
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8608
+  (0.4ms) rollback transaction
8609
+  (0.1ms) begin transaction
8610
+  (0.0ms) SAVEPOINT active_record_1
8611
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
8612
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-07-21 10:30:01.563567"], ["updated_at", "2016-07-21 10:30:01.563567"]]
8613
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8614
+ Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-07-21 19:30:01 +0900
8615
+ Processing by Katgut::RulesController#show as HTML
8616
+ Parameters: {"id"=>"torsitsugi_test_13"}
8617
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_13"]]
8618
+ Redirected to http://www.example.com/katgut_success.html
8619
+ SQL (0.3ms) UPDATE "katgut_rules" SET "redirection_count" = 1 WHERE "katgut_rules"."id" = ? [["id", 1]]
8620
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
8621
+  (0.0ms) DELETE FROM "katgut_rules";
8622
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8623
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8624
+  (0.6ms) rollback transaction
8625
+  (0.1ms) begin transaction
8626
+  (0.0ms) SAVEPOINT active_record_1
8627
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
8628
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:30:01.577401"], ["updated_at", "2016-07-21 10:30:01.577401"]]
8629
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8630
+ Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-07-21 19:30:01 +0900
8631
+ Processing by Katgut::RulesController#show as HTML
8632
+ Parameters: {"id"=>"torsitsugi_test_14"}
8633
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_14"]]
8634
+ Redirected to https://httpbin.org/
8635
+ SQL (0.3ms) UPDATE "katgut_rules" SET "redirection_count" = 1 WHERE "katgut_rules"."id" = ? [["id", 1]]
8636
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
8637
+  (0.1ms) DELETE FROM "katgut_rules";
8638
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8639
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8640
+  (0.6ms) rollback transaction
8641
+  (0.0ms) begin transaction
8642
+  (0.0ms) SAVEPOINT active_record_1
8643
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
8644
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:30:01.587990"], ["updated_at", "2016-07-21 10:30:01.587990"]]
8645
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8646
+ Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-07-21 19:30:01 +0900
8647
+ Processing by Katgut::RulesController#show as HTML
8648
+ Parameters: {"id"=>"torsitsugi_test_15"}
8649
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_15"]]
8650
+ Redirected to http://httpbin.org/
8651
+ SQL (0.2ms) UPDATE "katgut_rules" SET "redirection_count" = 1 WHERE "katgut_rules"."id" = ? [["id", 1]]
8652
+ Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
8653
+  (0.1ms) DELETE FROM "katgut_rules";
8654
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8655
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8656
+  (0.6ms) rollback transaction
8657
+  (0.1ms) begin transaction
8658
+ Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-07-21 19:30:01 +0900
8659
+ Processing by Katgut::RulesController#show as HTML
8660
+ Parameters: {"id"=>"not-existing-source-keyword"}
8661
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
8662
+ Redirected to http://www.example.com/
8663
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8664
+  (0.2ms) DELETE FROM "katgut_rules";
8665
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8666
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8667
+  (0.4ms) rollback transaction
8668
+  (0.1ms) begin transaction
8669
+  (0.1ms) SAVEPOINT active_record_1
8670
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
8671
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-07-21 10:30:01.604445"], ["updated_at", "2016-07-21 10:30:01.604445"]]
8672
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8673
+ Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-07-21 19:30:01 +0900
8674
+ Processing by Katgut::RulesController#show as HTML
8675
+ Parameters: {"id"=>"torsitsugi_test_16"}
8676
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_16"]]
8677
+ Redirected to http://www.example.com/
8678
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
8679
+  (0.1ms) DELETE FROM "katgut_rules";
8680
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8681
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8682
+  (0.5ms) rollback transaction
8683
+  (0.1ms) begin transaction
8684
+  (0.1ms) SAVEPOINT active_record_1
8685
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_17' LIMIT 1
8686
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_17"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:30:01.615740"], ["updated_at", "2016-07-21 10:30:01.615740"]]
8687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8688
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."id" = ? LIMIT 1 [["id", 1]]
8689
+ Started GET "/katgut/torsitsugi_test_17" for 127.0.0.1 at 2016-07-21 19:30:01 +0900
8690
+ Processing by Katgut::RulesController#show as HTML
8691
+ Parameters: {"id"=>"torsitsugi_test_17"}
8692
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_17"]]
8693
+ Redirected to https://httpbin.org/
8694
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8695
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."id" = ? LIMIT 1 [["id", 1]]
8696
+  (0.1ms) DELETE FROM "katgut_rules";
8697
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8698
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8699
+  (0.5ms) rollback transaction
8700
+  (0.1ms) begin transaction
8701
+  (0.0ms) SAVEPOINT active_record_1
8702
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_18' LIMIT 1
8703
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_18"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:30:01.672640"], ["updated_at", "2016-07-21 10:30:01.672640"]]
8704
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8705
+ Katgut::Rule Load (0.0ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."id" = ? LIMIT 1 [["id", 1]]
8706
+ Started GET "/katgut/torsitsugi_test_18" for 127.0.0.1 at 2016-07-21 19:30:01 +0900
8707
+ Processing by Katgut::RulesController#show as HTML
8708
+ Parameters: {"id"=>"torsitsugi_test_18"}
8709
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_18"]]
8710
+ Redirected to https://httpbin.org/
8711
+ SQL (0.3ms) UPDATE "katgut_rules" SET "redirection_count" = 1 WHERE "katgut_rules"."id" = ? [["id", 1]]
8712
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
8713
+ Katgut::Rule Load (0.0ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."id" = ? LIMIT 1 [["id", 1]]
8714
+  (0.1ms) DELETE FROM "katgut_rules";
8715
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8716
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8717
+  (0.7ms) rollback transaction
8718
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
8719
+  (1.6ms) DELETE FROM "katgut_rules";
8720
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8721
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8722
+  (0.0ms) begin transaction
8723
+  (0.0ms) SAVEPOINT active_record_1
8724
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1
8725
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:42:13.110561"], ["updated_at", "2016-07-21 10:42:13.110561"]]
8726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8727
+ Processing by Katgut::RulesController#show as HTML
8728
+ Parameters: {"id"=>"advice"}
8729
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
8730
+ Redirected to http://test.host/
8731
+ Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
8732
+  (0.1ms) DELETE FROM "katgut_rules";
8733
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8734
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8735
+  (2.0ms) rollback transaction
8736
+  (0.1ms) begin transaction
8737
+  (0.0ms) SAVEPOINT active_record_1
8738
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1
8739
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 10:42:13.129092"], ["updated_at", "2016-07-21 10:42:13.129092"]]
8740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8741
+ Processing by Katgut::RulesController#show as HTML
8742
+ Parameters: {"id"=>"advice"}
8743
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
8744
+ Redirected to http://test.host/
8745
+ Completed in 1ms (ActiveRecord: 0.1ms)
8746
+  (0.1ms) DELETE FROM "katgut_rules";
8747
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8748
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8749
+  (0.5ms) rollback transaction
8750
+  (0.0ms) begin transaction
8751
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
8752
+  (0.2ms) DELETE FROM "katgut_rules";
8753
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8754
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8755
+  (0.5ms) rollback transaction
8756
+  (0.1ms) begin transaction
8757
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
8758
+  (0.2ms) DELETE FROM "katgut_rules";
8759
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8760
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8761
+  (0.5ms) rollback transaction
8762
+  (0.1ms) begin transaction
8763
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
8764
+  (0.2ms) DELETE FROM "katgut_rules";
8765
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8766
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8767
+  (0.6ms) rollback transaction
8768
+  (0.1ms) begin transaction
8769
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
8770
+  (0.3ms) DELETE FROM "katgut_rules";
8771
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8772
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8773
+  (0.4ms) rollback transaction
8774
+  (0.1ms) begin transaction
8775
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
8776
+  (0.4ms) DELETE FROM "katgut_rules";
8777
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8778
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8779
+  (0.4ms) rollback transaction
8780
+  (0.0ms) begin transaction
8781
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
8782
+  (0.2ms) DELETE FROM "katgut_rules";
8783
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8784
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8785
+  (0.4ms) rollback transaction
8786
+  (0.0ms) begin transaction
8787
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
8788
+  (0.2ms) DELETE FROM "katgut_rules";
8789
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8790
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8791
+  (0.4ms) rollback transaction
8792
+  (0.1ms) begin transaction
8793
+  (0.3ms) DELETE FROM "katgut_rules";
8794
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8795
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8796
+  (0.4ms) rollback transaction
8797
+  (0.1ms) begin transaction
8798
+  (0.2ms) DELETE FROM "katgut_rules";
8799
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8800
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8801
+  (0.5ms) rollback transaction
8802
+  (0.1ms) begin transaction
8803
+  (0.2ms) DELETE FROM "katgut_rules";
8804
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8805
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8806
+  (0.4ms) rollback transaction
8807
+  (0.1ms) begin transaction
8808
+  (0.0ms) SAVEPOINT active_record_1
8809
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
8810
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-07-21 10:42:13.199406"], ["updated_at", "2016-07-21 10:42:13.199406"]]
8811
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8812
+ Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-07-21 19:42:13 +0900
8813
+ Processing by Katgut::RulesController#show as HTML
8814
+ Parameters: {"id"=>"torsitsugi_test_13"}
8815
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_13"]]
8816
+ Redirected to http://www.example.com/katgut_success.html
8817
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8818
+  (0.1ms) DELETE FROM "katgut_rules";
8819
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8820
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8821
+  (0.5ms) rollback transaction
8822
+  (0.1ms) begin transaction
8823
+  (0.0ms) SAVEPOINT active_record_1
8824
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
8825
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:42:13.214857"], ["updated_at", "2016-07-21 10:42:13.214857"]]
8826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8827
+ Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-07-21 19:42:13 +0900
8828
+ Processing by Katgut::RulesController#show as HTML
8829
+ Parameters: {"id"=>"torsitsugi_test_14"}
8830
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_14"]]
8831
+ Redirected to https://httpbin.org/
8832
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8833
+  (0.1ms) DELETE FROM "katgut_rules";
8834
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8835
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8836
+  (0.5ms) rollback transaction
8837
+  (0.1ms) begin transaction
8838
+  (0.0ms) SAVEPOINT active_record_1
8839
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
8840
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:42:13.224528"], ["updated_at", "2016-07-21 10:42:13.224528"]]
8841
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8842
+ Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-07-21 19:42:13 +0900
8843
+ Processing by Katgut::RulesController#show as HTML
8844
+ Parameters: {"id"=>"torsitsugi_test_15"}
8845
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_15"]]
8846
+ Redirected to http://httpbin.org/
8847
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8848
+  (0.1ms) DELETE FROM "katgut_rules";
8849
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8850
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8851
+  (0.4ms) rollback transaction
8852
+  (0.0ms) begin transaction
8853
+ Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-07-21 19:42:13 +0900
8854
+ Processing by Katgut::RulesController#show as HTML
8855
+ Parameters: {"id"=>"not-existing-source-keyword"}
8856
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
8857
+ Redirected to http://www.example.com/
8858
+ Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
8859
+  (0.2ms) DELETE FROM "katgut_rules";
8860
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8861
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8862
+  (0.4ms) rollback transaction
8863
+  (0.0ms) begin transaction
8864
+  (0.0ms) SAVEPOINT active_record_1
8865
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
8866
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-07-21 10:42:13.241181"], ["updated_at", "2016-07-21 10:42:13.241181"]]
8867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8868
+ Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-07-21 19:42:13 +0900
8869
+ Processing by Katgut::RulesController#show as HTML
8870
+ Parameters: {"id"=>"torsitsugi_test_16"}
8871
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_16"]]
8872
+ Redirected to http://www.example.com/
8873
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8874
+  (0.1ms) DELETE FROM "katgut_rules";
8875
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8876
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8877
+  (0.4ms) rollback transaction
8878
+  (0.1ms) begin transaction
8879
+  (0.1ms) SAVEPOINT active_record_1
8880
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_17' LIMIT 1
8881
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_17"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:42:13.251425"], ["updated_at", "2016-07-21 10:42:13.251425"]]
8882
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8883
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."id" = ? LIMIT 1 [["id", 1]]
8884
+ Started GET "/katgut/torsitsugi_test_17" for 127.0.0.1 at 2016-07-21 19:42:13 +0900
8885
+ Processing by Katgut::RulesController#show as HTML
8886
+ Parameters: {"id"=>"torsitsugi_test_17"}
8887
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_17"]]
8888
+ Redirected to https://httpbin.org/
8889
+ SQL (0.3ms) UPDATE "katgut_rules" SET "redirection_count" = 1 WHERE "katgut_rules"."id" = ? [["id", 1]]
8890
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
8891
+ Katgut::Rule Load (0.0ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."id" = ? LIMIT 1 [["id", 1]]
8892
+  (0.0ms) DELETE FROM "katgut_rules";
8893
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8894
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8895
+  (0.6ms) rollback transaction
8896
+  (0.0ms) begin transaction
8897
+  (0.0ms) SAVEPOINT active_record_1
8898
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_18' LIMIT 1
8899
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_18"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 10:42:13.266584"], ["updated_at", "2016-07-21 10:42:13.266584"]]
8900
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8901
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."id" = ? LIMIT 1 [["id", 1]]
8902
+ Started GET "/katgut/torsitsugi_test_18" for 127.0.0.1 at 2016-07-21 19:42:13 +0900
8903
+ Processing by Katgut::RulesController#show as HTML
8904
+ Parameters: {"id"=>"torsitsugi_test_18"}
8905
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_18"]]
8906
+ Redirected to https://httpbin.org/
8907
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
8908
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."id" = ? LIMIT 1 [["id", 1]]
8909
+  (0.1ms) DELETE FROM "katgut_rules";
8910
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8911
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8912
+  (0.4ms) rollback transaction
8913
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8914
+  (1.1ms) DELETE FROM "katgut_rules";
8915
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8916
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8917
+  (0.0ms) begin transaction
8918
+  (0.3ms) DELETE FROM "katgut_rules";
8919
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8920
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8921
+  (0.3ms) rollback transaction
8922
+  (0.1ms) begin transaction
8923
+  (0.2ms) DELETE FROM "katgut_rules";
8924
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8925
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8926
+  (0.4ms) rollback transaction
8927
+  (0.1ms) begin transaction
8928
+  (0.3ms) DELETE FROM "katgut_rules";
8929
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8930
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8931
+  (0.4ms) rollback transaction
8932
+  (0.0ms) begin transaction
8933
+  (0.2ms) DELETE FROM "katgut_rules";
8934
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8935
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8936
+  (0.3ms) rollback transaction
8937
+  (0.0ms) begin transaction
8938
+  (0.2ms) DELETE FROM "katgut_rules";
8939
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8940
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8941
+  (0.4ms) rollback transaction
8942
+  (0.2ms) begin transaction
8943
+  (0.2ms) DELETE FROM "katgut_rules";
8944
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8945
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8946
+  (0.3ms) rollback transaction
8947
+  (0.0ms) begin transaction
8948
+  (0.2ms) DELETE FROM "katgut_rules";
8949
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8950
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8951
+  (0.3ms) rollback transaction
8952
+  (0.0ms) begin transaction
8953
+  (0.2ms) DELETE FROM "katgut_rules";
8954
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8955
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8956
+  (0.4ms) rollback transaction
8957
+  (0.1ms) begin transaction
8958
+  (0.2ms) DELETE FROM "katgut_rules";
8959
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8960
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8961
+  (0.4ms) rollback transaction
8962
+  (0.1ms) begin transaction
8963
+  (0.2ms) DELETE FROM "katgut_rules";
8964
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8965
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8966
+  (0.5ms) rollback transaction
8967
+  (0.1ms) begin transaction
8968
+  (0.2ms) DELETE FROM "katgut_rules";
8969
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8970
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8971
+  (0.4ms) rollback transaction
8972
+  (0.1ms) begin transaction
8973
+  (0.2ms) DELETE FROM "katgut_rules";
8974
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8975
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8976
+  (0.3ms) rollback transaction
8977
+  (0.0ms) begin transaction
8978
+  (0.2ms) DELETE FROM "katgut_rules";
8979
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8980
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8981
+  (0.3ms) rollback transaction
8982
+  (0.1ms) begin transaction
8983
+  (0.2ms) DELETE FROM "katgut_rules";
8984
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8985
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8986
+  (0.3ms) rollback transaction
8987
+  (0.0ms) begin transaction
8988
+  (0.2ms) DELETE FROM "katgut_rules";
8989
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8990
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8991
+  (0.3ms) rollback transaction
8992
+  (0.1ms) begin transaction
8993
+  (0.3ms) DELETE FROM "katgut_rules";
8994
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8995
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
8996
+  (0.4ms) rollback transaction
8997
+  (0.1ms) begin transaction
8998
+  (0.3ms) DELETE FROM "katgut_rules";
8999
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9000
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9001
+  (0.4ms) rollback transaction
9002
+  (0.1ms) begin transaction
9003
+  (0.2ms) DELETE FROM "katgut_rules";
9004
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9005
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9006
+  (0.4ms) rollback transaction
9007
+  (0.0ms) begin transaction
9008
+  (0.2ms) DELETE FROM "katgut_rules";
9009
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9010
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9011
+  (0.4ms) rollback transaction
9012
+  (0.1ms) begin transaction
9013
+ Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-08-08 14:24:41 +0900
9014
+ Processing by Katgut::RulesController#show as HTML
9015
+ Parameters: {"id"=>"not-existing-source-keyword"}
9016
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
9017
+ Redirected to http://www.example.com/
9018
+ Completed 302 Found in 21ms (ActiveRecord: 0.2ms)
9019
+  (0.3ms) DELETE FROM "katgut_rules";
9020
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9021
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9022
+  (0.4ms) rollback transaction
9023
+  (0.1ms) begin transaction
9024
+  (0.3ms) DELETE FROM "katgut_rules";
9025
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9026
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9027
+  (0.5ms) rollback transaction
9028
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9029
+  (9.4ms) DELETE FROM "katgut_rules";
9030
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9031
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9032
+  (0.1ms) begin transaction
9033
+  (0.0ms) SAVEPOINT active_record_1
9034
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1
9035
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-08-08 05:31:14.240759"], ["updated_at", "2016-08-08 05:31:14.240759"]]
9036
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9037
+ Processing by Katgut::RulesController#show as HTML
9038
+ Parameters: {"id"=>"advice"}
9039
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
9040
+ Redirected to http://test.host/
9041
+ Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
9042
+  (0.0ms) DELETE FROM "katgut_rules";
9043
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9044
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9045
+  (0.4ms) rollback transaction
9046
+  (0.0ms) begin transaction
9047
+  (0.0ms) SAVEPOINT active_record_1
9048
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1
9049
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-08-08 05:31:14.257856"], ["updated_at", "2016-08-08 05:31:14.257856"]]
9050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9051
+ Processing by Katgut::RulesController#show as HTML
9052
+ Parameters: {"id"=>"advice"}
9053
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
9054
+ Redirected to http://test.host/
9055
+ Completed in 2ms (ActiveRecord: 0.1ms)
9056
+  (0.1ms) DELETE FROM "katgut_rules";
9057
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9058
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9059
+  (0.4ms) rollback transaction
9060
+  (0.1ms) begin transaction
9061
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
9062
+  (0.3ms) DELETE FROM "katgut_rules";
9063
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9064
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9065
+  (0.4ms) rollback transaction
9066
+  (0.1ms) begin transaction
9067
+ Katgut::Rule Exists (0.3ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
9068
+  (0.3ms) DELETE FROM "katgut_rules";
9069
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9070
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9071
+  (0.4ms) rollback transaction
9072
+  (0.1ms) begin transaction
9073
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
9074
+  (0.2ms) DELETE FROM "katgut_rules";
9075
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9076
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9077
+  (0.5ms) rollback transaction
9078
+  (0.1ms) begin transaction
9079
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
9080
+  (0.2ms) DELETE FROM "katgut_rules";
9081
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9082
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9083
+  (0.4ms) rollback transaction
9084
+  (0.1ms) begin transaction
9085
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
9086
+  (0.3ms) DELETE FROM "katgut_rules";
9087
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9088
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9089
+  (0.5ms) rollback transaction
9090
+  (0.1ms) begin transaction
9091
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
9092
+  (0.2ms) DELETE FROM "katgut_rules";
9093
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9094
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9095
+  (0.4ms) rollback transaction
9096
+  (0.1ms) begin transaction
9097
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
9098
+  (0.2ms) DELETE FROM "katgut_rules";
9099
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9100
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9101
+  (0.4ms) rollback transaction
9102
+  (0.1ms) begin transaction
9103
+  (0.3ms) DELETE FROM "katgut_rules";
9104
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9105
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9106
+  (0.4ms) rollback transaction
9107
+  (0.1ms) begin transaction
9108
+  (0.2ms) DELETE FROM "katgut_rules";
9109
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9110
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9111
+  (0.4ms) rollback transaction
9112
+  (0.1ms) begin transaction
9113
+  (0.2ms) DELETE FROM "katgut_rules";
9114
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9115
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9116
+  (0.4ms) rollback transaction
9117
+  (0.0ms) begin transaction
9118
+  (0.3ms) DELETE FROM "katgut_rules";
9119
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9120
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9121
+  (0.5ms) rollback transaction
9122
+  (0.1ms) begin transaction
9123
+  (0.2ms) DELETE FROM "katgut_rules";
9124
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9125
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9126
+  (0.4ms) rollback transaction
9127
+  (0.0ms) begin transaction
9128
+  (0.2ms) DELETE FROM "katgut_rules";
9129
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9130
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9131
+  (0.4ms) rollback transaction
9132
+  (0.0ms) begin transaction
9133
+  (0.0ms) SAVEPOINT active_record_1
9134
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'osusume' LIMIT 1
9135
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "osusume"], ["destination", "https://www.google.com/"], ["active", "t"], ["created_at", "2016-08-08 05:31:14.559604"], ["updated_at", "2016-08-08 05:31:14.559604"]]
9136
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9137
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" DESC LIMIT 1
9138
+  (0.1ms) DELETE FROM "katgut_rules";
9139
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9140
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9141
+  (0.4ms) rollback transaction
9142
+  (0.1ms) begin transaction
9143
+  (0.0ms) SAVEPOINT active_record_1
9144
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
9145
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-08-08 05:31:14.565475"], ["updated_at", "2016-08-08 05:31:14.565475"]]
9146
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9147
+ Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-08-08 14:31:14 +0900
9148
+ Processing by Katgut::RulesController#show as HTML
9149
+ Parameters: {"id"=>"torsitsugi_test_13"}
9150
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_13"]]
9151
+ Redirected to http://www.example.com/katgut_success.html
9152
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9153
+  (0.1ms) DELETE FROM "katgut_rules";
9154
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9155
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9156
+  (0.4ms) rollback transaction
9157
+  (0.0ms) begin transaction
9158
+  (0.1ms) SAVEPOINT active_record_1
9159
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
9160
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-08-08 05:31:14.577959"], ["updated_at", "2016-08-08 05:31:14.577959"]]
9161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9162
+ Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-08-08 14:31:14 +0900
9163
+ Processing by Katgut::RulesController#show as HTML
9164
+ Parameters: {"id"=>"torsitsugi_test_14"}
9165
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_14"]]
9166
+ Redirected to https://httpbin.org/
9167
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9168
+  (0.1ms) DELETE FROM "katgut_rules";
9169
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9170
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9171
+  (0.5ms) rollback transaction
9172
+  (0.1ms) begin transaction
9173
+  (0.1ms) SAVEPOINT active_record_1
9174
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
9175
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-08-08 05:31:14.587565"], ["updated_at", "2016-08-08 05:31:14.587565"]]
9176
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9177
+ Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-08-08 14:31:14 +0900
9178
+ Processing by Katgut::RulesController#show as HTML
9179
+ Parameters: {"id"=>"torsitsugi_test_15"}
9180
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_15"]]
9181
+ Redirected to http://httpbin.org/
9182
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9183
+  (0.1ms) DELETE FROM "katgut_rules";
9184
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9185
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9186
+  (0.5ms) rollback transaction
9187
+  (0.1ms) begin transaction
9188
+ Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-08-08 14:31:14 +0900
9189
+ Processing by Katgut::RulesController#show as HTML
9190
+ Parameters: {"id"=>"not-existing-source-keyword"}
9191
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
9192
+ Redirected to http://www.example.com/
9193
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9194
+  (0.2ms) DELETE FROM "katgut_rules";
9195
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9196
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9197
+  (0.4ms) rollback transaction
9198
+  (0.1ms) begin transaction
9199
+  (0.0ms) SAVEPOINT active_record_1
9200
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
9201
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-08-08 05:31:14.606318"], ["updated_at", "2016-08-08 05:31:14.606318"]]
9202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9203
+ Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-08-08 14:31:14 +0900
9204
+ Processing by Katgut::RulesController#show as HTML
9205
+ Parameters: {"id"=>"torsitsugi_test_16"}
9206
+ Katgut::Rule Load (0.3ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_16"]]
9207
+ Redirected to http://www.example.com/
9208
+ Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
9209
+  (0.1ms) DELETE FROM "katgut_rules";
9210
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9211
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9212
+  (0.5ms) rollback transaction
9213
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9214
+  (9.3ms) DELETE FROM "katgut_rules";
9215
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9216
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9217
+  (0.0ms) begin transaction
9218
+  (0.0ms) SAVEPOINT active_record_1
9219
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1
9220
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-08-08 05:33:22.960593"], ["updated_at", "2016-08-08 05:33:22.960593"]]
9221
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9222
+ Processing by Katgut::RulesController#show as HTML
9223
+ Parameters: {"id"=>"advice"}
9224
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
9225
+ Redirected to http://test.host/
9226
+ Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
9227
+  (0.0ms) DELETE FROM "katgut_rules";
9228
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9229
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9230
+  (0.4ms) rollback transaction
9231
+  (0.1ms) begin transaction
9232
+  (0.1ms) SAVEPOINT active_record_1
9233
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1
9234
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-08-08 05:33:22.974440"], ["updated_at", "2016-08-08 05:33:22.974440"]]
9235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9236
+ Processing by Katgut::RulesController#show as HTML
9237
+ Parameters: {"id"=>"advice"}
9238
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
9239
+ Redirected to http://test.host/
9240
+ Completed in 1ms (ActiveRecord: 0.1ms)
9241
+  (0.1ms) DELETE FROM "katgut_rules";
9242
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9243
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9244
+  (0.6ms) rollback transaction
9245
+  (0.1ms) begin transaction
9246
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
9247
+  (0.2ms) DELETE FROM "katgut_rules";
9248
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9249
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9250
+  (0.4ms) rollback transaction
9251
+  (0.1ms) begin transaction
9252
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
9253
+  (0.2ms) DELETE FROM "katgut_rules";
9254
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9255
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9256
+  (0.4ms) rollback transaction
9257
+  (0.1ms) begin transaction
9258
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
9259
+  (0.3ms) DELETE FROM "katgut_rules";
9260
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9261
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9262
+  (0.5ms) rollback transaction
9263
+  (0.1ms) begin transaction
9264
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
9265
+  (0.2ms) DELETE FROM "katgut_rules";
9266
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9267
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9268
+  (0.4ms) rollback transaction
9269
+  (0.1ms) begin transaction
9270
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
9271
+  (0.2ms) DELETE FROM "katgut_rules";
9272
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9273
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9274
+  (0.4ms) rollback transaction
9275
+  (0.1ms) begin transaction
9276
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
9277
+  (0.2ms) DELETE FROM "katgut_rules";
9278
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9279
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9280
+  (0.4ms) rollback transaction
9281
+  (0.1ms) begin transaction
9282
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
9283
+  (0.2ms) DELETE FROM "katgut_rules";
9284
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9285
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9286
+  (0.4ms) rollback transaction
9287
+  (0.1ms) begin transaction
9288
+  (0.3ms) DELETE FROM "katgut_rules";
9289
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9290
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9291
+  (0.3ms) rollback transaction
9292
+  (0.1ms) begin transaction
9293
+  (0.2ms) DELETE FROM "katgut_rules";
9294
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9295
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9296
+  (0.4ms) rollback transaction
9297
+  (0.0ms) begin transaction
9298
+  (0.2ms) DELETE FROM "katgut_rules";
9299
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9300
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9301
+  (0.4ms) rollback transaction
9302
+  (0.0ms) begin transaction
9303
+  (0.3ms) DELETE FROM "katgut_rules";
9304
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9305
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9306
+  (0.4ms) rollback transaction
9307
+  (0.1ms) begin transaction
9308
+  (0.2ms) DELETE FROM "katgut_rules";
9309
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9310
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9311
+  (0.4ms) rollback transaction
9312
+  (0.1ms) begin transaction
9313
+  (0.2ms) DELETE FROM "katgut_rules";
9314
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9315
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9316
+  (0.3ms) rollback transaction
9317
+  (0.1ms) begin transaction
9318
+  (0.0ms) SAVEPOINT active_record_1
9319
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'osusume' LIMIT 1
9320
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "osusume"], ["destination", "https://www.google.com/"], ["active", "t"], ["created_at", "2016-08-08 05:33:23.065639"], ["updated_at", "2016-08-08 05:33:23.065639"]]
9321
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9322
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" DESC LIMIT 1
9323
+  (0.0ms) DELETE FROM "katgut_rules";
9324
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9325
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9326
+  (0.4ms) rollback transaction
9327
+  (0.1ms) begin transaction
9328
+  (0.2ms) SAVEPOINT active_record_1
9329
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
9330
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-08-08 05:33:23.072157"], ["updated_at", "2016-08-08 05:33:23.072157"]]
9331
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9332
+ Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-08-08 14:33:23 +0900
9333
+ Processing by Katgut::RulesController#show as HTML
9334
+ Parameters: {"id"=>"torsitsugi_test_13"}
9335
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_13"]]
9336
+ Redirected to http://www.example.com/katgut_success.html
9337
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9338
+  (0.1ms) DELETE FROM "katgut_rules";
9339
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9340
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9341
+  (0.5ms) rollback transaction
9342
+  (0.1ms) begin transaction
9343
+  (0.0ms) SAVEPOINT active_record_1
9344
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
9345
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-08-08 05:33:23.086005"], ["updated_at", "2016-08-08 05:33:23.086005"]]
9346
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9347
+ Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-08-08 14:33:23 +0900
9348
+ Processing by Katgut::RulesController#show as HTML
9349
+ Parameters: {"id"=>"torsitsugi_test_14"}
9350
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_14"]]
9351
+ Redirected to https://httpbin.org/
9352
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9353
+  (0.1ms) DELETE FROM "katgut_rules";
9354
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9355
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9356
+  (0.5ms) rollback transaction
9357
+  (0.1ms) begin transaction
9358
+  (0.1ms) SAVEPOINT active_record_1
9359
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
9360
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-08-08 05:33:23.097034"], ["updated_at", "2016-08-08 05:33:23.097034"]]
9361
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9362
+ Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-08-08 14:33:23 +0900
9363
+ Processing by Katgut::RulesController#show as HTML
9364
+ Parameters: {"id"=>"torsitsugi_test_15"}
9365
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_15"]]
9366
+ Redirected to http://httpbin.org/
9367
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9368
+  (0.1ms) DELETE FROM "katgut_rules";
9369
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9370
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9371
+  (0.4ms) rollback transaction
9372
+  (0.1ms) begin transaction
9373
+ Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-08-08 14:33:23 +0900
9374
+ Processing by Katgut::RulesController#show as HTML
9375
+ Parameters: {"id"=>"not-existing-source-keyword"}
9376
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
9377
+ Redirected to http://www.example.com/
9378
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9379
+  (0.3ms) DELETE FROM "katgut_rules";
9380
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9381
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9382
+  (0.6ms) rollback transaction
9383
+  (0.1ms) begin transaction
9384
+  (0.1ms) SAVEPOINT active_record_1
9385
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
9386
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-08-08 05:33:23.116347"], ["updated_at", "2016-08-08 05:33:23.116347"]]
9387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9388
+ Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-08-08 14:33:23 +0900
9389
+ Processing by Katgut::RulesController#show as HTML
9390
+ Parameters: {"id"=>"torsitsugi_test_16"}
9391
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_16"]]
9392
+ Redirected to http://www.example.com/
9393
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9394
+  (0.1ms) DELETE FROM "katgut_rules";
9395
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9396
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9397
+  (0.5ms) rollback transaction
9398
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9399
+  (9.2ms) DELETE FROM "katgut_rules";
9400
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9401
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9402
+  (0.1ms) begin transaction
9403
+  (0.0ms) SAVEPOINT active_record_1
9404
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1
9405
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-08-08 05:41:13.567926"], ["updated_at", "2016-08-08 05:41:13.567926"]]
9406
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9407
+ Processing by Katgut::RulesController#show as HTML
9408
+ Parameters: {"id"=>"advice"}
9409
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
9410
+ Redirected to http://test.host/
9411
+ Completed 302 Found in 5ms (ActiveRecord: 0.1ms)
9412
+  (0.1ms) DELETE FROM "katgut_rules";
9413
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9414
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9415
+  (0.5ms) rollback transaction
9416
+  (0.1ms) begin transaction
9417
+  (0.0ms) SAVEPOINT active_record_1
9418
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1
9419
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-08-08 05:41:13.583764"], ["updated_at", "2016-08-08 05:41:13.583764"]]
9420
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9421
+ Processing by Katgut::RulesController#show as HTML
9422
+ Parameters: {"id"=>"advice"}
9423
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
9424
+ Redirected to http://test.host/
9425
+ Completed in 1ms (ActiveRecord: 0.1ms)
9426
+  (0.1ms) DELETE FROM "katgut_rules";
9427
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9428
+  (6.3ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9429
+  (0.5ms) rollback transaction
9430
+  (0.1ms) begin transaction
9431
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
9432
+  (0.2ms) DELETE FROM "katgut_rules";
9433
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9434
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9435
+  (0.4ms) rollback transaction
9436
+  (0.1ms) begin transaction
9437
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
9438
+  (0.4ms) DELETE FROM "katgut_rules";
9439
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9440
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9441
+  (0.5ms) rollback transaction
9442
+  (0.1ms) begin transaction
9443
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
9444
+  (0.3ms) DELETE FROM "katgut_rules";
9445
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9446
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9447
+  (0.5ms) rollback transaction
9448
+  (0.1ms) begin transaction
9449
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
9450
+  (0.2ms) DELETE FROM "katgut_rules";
9451
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9452
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9453
+  (0.4ms) rollback transaction
9454
+  (0.1ms) begin transaction
9455
+ Katgut::Rule Exists (0.3ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
9456
+  (0.2ms) DELETE FROM "katgut_rules";
9457
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9458
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9459
+  (0.4ms) rollback transaction
9460
+  (0.1ms) begin transaction
9461
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
9462
+  (0.2ms) DELETE FROM "katgut_rules";
9463
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9464
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9465
+  (0.4ms) rollback transaction
9466
+  (0.1ms) begin transaction
9467
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
9468
+  (0.2ms) DELETE FROM "katgut_rules";
9469
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9470
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9471
+  (0.4ms) rollback transaction
9472
+  (0.0ms) begin transaction
9473
+  (0.2ms) DELETE FROM "katgut_rules";
9474
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9475
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9476
+  (0.4ms) rollback transaction
9477
+  (0.1ms) begin transaction
9478
+  (0.3ms) DELETE FROM "katgut_rules";
9479
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9480
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9481
+  (0.3ms) rollback transaction
9482
+  (0.1ms) begin transaction
9483
+  (0.2ms) DELETE FROM "katgut_rules";
9484
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9485
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9486
+  (0.4ms) rollback transaction
9487
+  (0.1ms) begin transaction
9488
+  (0.4ms) DELETE FROM "katgut_rules";
9489
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9490
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9491
+  (0.4ms) rollback transaction
9492
+  (0.1ms) begin transaction
9493
+  (0.2ms) DELETE FROM "katgut_rules";
9494
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9495
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9496
+  (0.5ms) rollback transaction
9497
+  (0.1ms) begin transaction
9498
+  (0.2ms) DELETE FROM "katgut_rules";
9499
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9500
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9501
+  (0.4ms) rollback transaction
9502
+  (0.0ms) begin transaction
9503
+  (0.0ms) SAVEPOINT active_record_1
9504
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'osusume' LIMIT 1
9505
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "osusume"], ["destination", "https://www.google.com/"], ["active", "t"], ["created_at", "2016-08-08 05:41:13.672486"], ["updated_at", "2016-08-08 05:41:13.672486"]]
9506
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9507
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" DESC LIMIT 1
9508
+  (0.0ms) DELETE FROM "katgut_rules";
9509
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9510
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9511
+  (0.5ms) rollback transaction
9512
+  (0.1ms) begin transaction
9513
+  (0.0ms) SAVEPOINT active_record_1
9514
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
9515
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-08-08 05:41:13.678100"], ["updated_at", "2016-08-08 05:41:13.678100"]]
9516
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9517
+ Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-08-08 14:41:13 +0900
9518
+ Processing by Katgut::RulesController#show as HTML
9519
+ Parameters: {"id"=>"torsitsugi_test_13"}
9520
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_13"]]
9521
+ Redirected to http://www.example.com/katgut_success.html
9522
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9523
+  (0.1ms) DELETE FROM "katgut_rules";
9524
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9525
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9526
+  (0.5ms) rollback transaction
9527
+  (0.1ms) begin transaction
9528
+  (0.0ms) SAVEPOINT active_record_1
9529
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
9530
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-08-08 05:41:13.692710"], ["updated_at", "2016-08-08 05:41:13.692710"]]
9531
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9532
+ Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-08-08 14:41:13 +0900
9533
+ Processing by Katgut::RulesController#show as HTML
9534
+ Parameters: {"id"=>"torsitsugi_test_14"}
9535
+ Katgut::Rule Load (0.2ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_14"]]
9536
+ Redirected to https://httpbin.org/
9537
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
9538
+  (0.1ms) DELETE FROM "katgut_rules";
9539
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9540
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9541
+  (0.5ms) rollback transaction
9542
+  (0.0ms) begin transaction
9543
+  (0.1ms) SAVEPOINT active_record_1
9544
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
9545
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-08-08 05:41:13.703813"], ["updated_at", "2016-08-08 05:41:13.703813"]]
9546
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9547
+ Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-08-08 14:41:13 +0900
9548
+ Processing by Katgut::RulesController#show as HTML
9549
+ Parameters: {"id"=>"torsitsugi_test_15"}
9550
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_15"]]
9551
+ Redirected to http://httpbin.org/
9552
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
9553
+  (0.1ms) DELETE FROM "katgut_rules";
9554
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9555
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9556
+  (0.4ms) rollback transaction
9557
+  (0.1ms) begin transaction
9558
+ Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-08-08 14:41:13 +0900
9559
+ Processing by Katgut::RulesController#show as HTML
9560
+ Parameters: {"id"=>"not-existing-source-keyword"}
9561
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
9562
+ Redirected to http://www.example.com/
9563
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
9564
+  (0.3ms) DELETE FROM "katgut_rules";
9565
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9566
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9567
+  (0.4ms) rollback transaction
9568
+  (0.0ms) begin transaction
9569
+  (0.0ms) SAVEPOINT active_record_1
9570
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
9571
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-08-08 05:41:13.723601"], ["updated_at", "2016-08-08 05:41:13.723601"]]
9572
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9573
+ Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-08-08 14:41:13 +0900
9574
+ Processing by Katgut::RulesController#show as HTML
9575
+ Parameters: {"id"=>"torsitsugi_test_16"}
9576
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_16"]]
9577
+ Redirected to http://www.example.com/
9578
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9579
+  (0.1ms) DELETE FROM "katgut_rules";
9580
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9581
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9582
+  (0.4ms) rollback transaction
9583
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9584
+  (9.1ms) DELETE FROM "katgut_rules";
9585
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9586
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9587
+  (0.1ms) begin transaction
9588
+  (0.1ms) SAVEPOINT active_record_1
9589
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1
9590
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-08-08 05:42:53.007411"], ["updated_at", "2016-08-08 05:42:53.007411"]]
9591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9592
+ Processing by Katgut::RulesController#show as HTML
9593
+ Parameters: {"id"=>"advice"}
9594
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
9595
+ Redirected to http://test.host/
9596
+ Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
9597
+  (0.0ms) DELETE FROM "katgut_rules";
9598
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9599
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9600
+  (0.4ms) rollback transaction
9601
+  (0.1ms) begin transaction
9602
+  (0.1ms) SAVEPOINT active_record_1
9603
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1
9604
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-08-08 05:42:53.022046"], ["updated_at", "2016-08-08 05:42:53.022046"]]
9605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9606
+ Processing by Katgut::RulesController#show as HTML
9607
+ Parameters: {"id"=>"advice"}
9608
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
9609
+ Redirected to http://test.host/
9610
+ Completed in 1ms (ActiveRecord: 0.1ms)
9611
+  (0.1ms) DELETE FROM "katgut_rules";
9612
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9613
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9614
+  (0.5ms) rollback transaction
9615
+  (0.2ms) begin transaction
9616
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
9617
+  (0.2ms) DELETE FROM "katgut_rules";
9618
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9619
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9620
+  (0.4ms) rollback transaction
9621
+  (0.1ms) begin transaction
9622
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
9623
+  (0.2ms) DELETE FROM "katgut_rules";
9624
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9625
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9626
+  (0.3ms) rollback transaction
9627
+  (0.1ms) begin transaction
9628
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
9629
+  (0.2ms) DELETE FROM "katgut_rules";
9630
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9631
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9632
+  (0.4ms) rollback transaction
9633
+  (0.1ms) begin transaction
9634
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
9635
+  (0.2ms) DELETE FROM "katgut_rules";
9636
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9637
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9638
+  (0.4ms) rollback transaction
9639
+  (0.1ms) begin transaction
9640
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
9641
+  (0.2ms) DELETE FROM "katgut_rules";
9642
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9643
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9644
+  (0.4ms) rollback transaction
9645
+  (0.1ms) begin transaction
9646
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
9647
+  (0.2ms) DELETE FROM "katgut_rules";
9648
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9649
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9650
+  (0.4ms) rollback transaction
9651
+  (0.1ms) begin transaction
9652
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
9653
+  (0.2ms) DELETE FROM "katgut_rules";
9654
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9655
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9656
+  (0.4ms) rollback transaction
9657
+  (0.1ms) begin transaction
9658
+  (0.3ms) DELETE FROM "katgut_rules";
9659
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9660
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9661
+  (0.4ms) rollback transaction
9662
+  (0.1ms) begin transaction
9663
+  (0.2ms) DELETE FROM "katgut_rules";
9664
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9665
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9666
+  (0.4ms) rollback transaction
9667
+  (0.1ms) begin transaction
9668
+  (0.3ms) DELETE FROM "katgut_rules";
9669
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9670
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9671
+  (0.4ms) rollback transaction
9672
+  (0.1ms) begin transaction
9673
+  (0.2ms) DELETE FROM "katgut_rules";
9674
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9675
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9676
+  (0.4ms) rollback transaction
9677
+  (0.1ms) begin transaction
9678
+  (0.3ms) DELETE FROM "katgut_rules";
9679
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9680
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9681
+  (0.4ms) rollback transaction
9682
+  (0.0ms) begin transaction
9683
+  (0.2ms) DELETE FROM "katgut_rules";
9684
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9685
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9686
+  (0.4ms) rollback transaction
9687
+  (0.1ms) begin transaction
9688
+  (0.1ms) SAVEPOINT active_record_1
9689
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'osusume' LIMIT 1
9690
+ SQL (0.5ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "osusume"], ["destination", "https://www.google.com/"], ["active", "t"], ["created_at", "2016-08-08 05:42:53.095037"], ["updated_at", "2016-08-08 05:42:53.095037"]]
9691
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9692
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" DESC LIMIT 1
9693
+  (0.0ms) DELETE FROM "katgut_rules";
9694
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9695
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9696
+  (0.4ms) rollback transaction
9697
+  (0.1ms) begin transaction
9698
+  (0.0ms) SAVEPOINT active_record_1
9699
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
9700
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-08-08 05:42:53.101111"], ["updated_at", "2016-08-08 05:42:53.101111"]]
9701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9702
+ Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-08-08 14:42:53 +0900
9703
+ Processing by Katgut::RulesController#show as HTML
9704
+ Parameters: {"id"=>"torsitsugi_test_13"}
9705
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_13"]]
9706
+ Redirected to http://www.example.com/katgut_success.html
9707
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9708
+  (0.1ms) DELETE FROM "katgut_rules";
9709
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9710
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9711
+  (0.4ms) rollback transaction
9712
+  (0.1ms) begin transaction
9713
+  (0.1ms) SAVEPOINT active_record_1
9714
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
9715
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-08-08 05:42:53.114258"], ["updated_at", "2016-08-08 05:42:53.114258"]]
9716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9717
+ Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-08-08 14:42:53 +0900
9718
+ Processing by Katgut::RulesController#show as HTML
9719
+ Parameters: {"id"=>"torsitsugi_test_14"}
9720
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_14"]]
9721
+ Redirected to https://httpbin.org/
9722
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9723
+  (0.1ms) DELETE FROM "katgut_rules";
9724
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9725
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9726
+  (0.4ms) rollback transaction
9727
+  (0.1ms) begin transaction
9728
+  (0.0ms) SAVEPOINT active_record_1
9729
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
9730
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-08-08 05:42:53.124046"], ["updated_at", "2016-08-08 05:42:53.124046"]]
9731
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9732
+ Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-08-08 14:42:53 +0900
9733
+ Processing by Katgut::RulesController#show as HTML
9734
+ Parameters: {"id"=>"torsitsugi_test_15"}
9735
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_15"]]
9736
+ Redirected to http://httpbin.org/
9737
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9738
+  (0.1ms) DELETE FROM "katgut_rules";
9739
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9740
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9741
+  (0.4ms) rollback transaction
9742
+  (0.1ms) begin transaction
9743
+ Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-08-08 14:42:53 +0900
9744
+ Processing by Katgut::RulesController#show as HTML
9745
+ Parameters: {"id"=>"not-existing-source-keyword"}
9746
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
9747
+ Redirected to http://www.example.com/
9748
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9749
+  (0.2ms) DELETE FROM "katgut_rules";
9750
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9751
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9752
+  (0.4ms) rollback transaction
9753
+  (0.0ms) begin transaction
9754
+  (0.0ms) SAVEPOINT active_record_1
9755
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
9756
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-08-08 05:42:53.142574"], ["updated_at", "2016-08-08 05:42:53.142574"]]
9757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9758
+ Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-08-08 14:42:53 +0900
9759
+ Processing by Katgut::RulesController#show as HTML
9760
+ Parameters: {"id"=>"torsitsugi_test_16"}
9761
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_16"]]
9762
+ Redirected to http://www.example.com/
9763
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9764
+  (0.1ms) DELETE FROM "katgut_rules";
9765
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9766
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9767
+  (0.5ms) rollback transaction
9768
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9769
+  (8.4ms) DELETE FROM "katgut_rules";
9770
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9771
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9772
+  (0.2ms) begin transaction
9773
+  (0.1ms) SAVEPOINT active_record_1
9774
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1
9775
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-08-08 05:44:28.776855"], ["updated_at", "2016-08-08 05:44:28.776855"]]
9776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9777
+ Processing by Katgut::RulesController#show as HTML
9778
+ Parameters: {"id"=>"advice"}
9779
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
9780
+ Redirected to http://test.host/
9781
+ Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
9782
+  (0.1ms) DELETE FROM "katgut_rules";
9783
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9784
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9785
+  (0.8ms) rollback transaction
9786
+  (0.1ms) begin transaction
9787
+  (0.0ms) SAVEPOINT active_record_1
9788
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1
9789
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-08-08 05:44:28.791029"], ["updated_at", "2016-08-08 05:44:28.791029"]]
9790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9791
+ Processing by Katgut::RulesController#show as HTML
9792
+ Parameters: {"id"=>"advice"}
9793
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
9794
+ Redirected to http://test.host/
9795
+ Completed in 1ms (ActiveRecord: 0.1ms)
9796
+  (0.1ms) DELETE FROM "katgut_rules";
9797
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9798
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9799
+  (6.7ms) rollback transaction
9800
+  (0.1ms) begin transaction
9801
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
9802
+  (0.4ms) DELETE FROM "katgut_rules";
9803
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9804
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9805
+  (0.4ms) rollback transaction
9806
+  (0.1ms) begin transaction
9807
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
9808
+  (0.3ms) DELETE FROM "katgut_rules";
9809
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9810
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9811
+  (0.4ms) rollback transaction
9812
+  (0.1ms) begin transaction
9813
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
9814
+  (0.2ms) DELETE FROM "katgut_rules";
9815
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9816
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9817
+  (0.4ms) rollback transaction
9818
+  (0.1ms) begin transaction
9819
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
9820
+  (0.2ms) DELETE FROM "katgut_rules";
9821
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9822
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9823
+  (0.4ms) rollback transaction
9824
+  (0.1ms) begin transaction
9825
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
9826
+  (0.2ms) DELETE FROM "katgut_rules";
9827
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9828
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9829
+  (0.4ms) rollback transaction
9830
+  (0.1ms) begin transaction
9831
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
9832
+  (0.2ms) DELETE FROM "katgut_rules";
9833
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9834
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9835
+  (0.5ms) rollback transaction
9836
+  (0.1ms) begin transaction
9837
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
9838
+  (0.2ms) DELETE FROM "katgut_rules";
9839
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9840
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9841
+  (0.4ms) rollback transaction
9842
+  (0.1ms) begin transaction
9843
+  (0.3ms) DELETE FROM "katgut_rules";
9844
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9845
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9846
+  (0.4ms) rollback transaction
9847
+  (0.1ms) begin transaction
9848
+  (0.2ms) DELETE FROM "katgut_rules";
9849
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9850
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9851
+  (0.3ms) rollback transaction
9852
+  (0.1ms) begin transaction
9853
+  (0.2ms) DELETE FROM "katgut_rules";
9854
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9855
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9856
+  (0.4ms) rollback transaction
9857
+  (0.1ms) begin transaction
9858
+  (0.2ms) DELETE FROM "katgut_rules";
9859
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9860
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9861
+  (0.4ms) rollback transaction
9862
+  (0.0ms) begin transaction
9863
+  (0.2ms) DELETE FROM "katgut_rules";
9864
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9865
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9866
+  (0.3ms) rollback transaction
9867
+  (0.0ms) begin transaction
9868
+  (0.2ms) DELETE FROM "katgut_rules";
9869
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9870
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9871
+  (0.3ms) rollback transaction
9872
+  (0.1ms) begin transaction
9873
+  (0.1ms) SAVEPOINT active_record_1
9874
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'osusume' LIMIT 1
9875
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "osusume"], ["destination", "https://www.google.com/"], ["active", "t"], ["created_at", "2016-08-08 05:44:28.861610"], ["updated_at", "2016-08-08 05:44:28.861610"]]
9876
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9877
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" ORDER BY "katgut_rules"."id" DESC LIMIT 1
9878
+  (0.0ms) DELETE FROM "katgut_rules";
9879
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9880
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9881
+  (0.5ms) rollback transaction
9882
+  (0.1ms) begin transaction
9883
+  (0.0ms) SAVEPOINT active_record_1
9884
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
9885
+ SQL (0.2ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-08-08 05:44:28.867347"], ["updated_at", "2016-08-08 05:44:28.867347"]]
9886
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9887
+ Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-08-08 14:44:28 +0900
9888
+ Processing by Katgut::RulesController#show as HTML
9889
+ Parameters: {"id"=>"torsitsugi_test_13"}
9890
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_13"]]
9891
+ Redirected to http://www.example.com/katgut_success.html
9892
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
9893
+  (0.1ms) DELETE FROM "katgut_rules";
9894
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9895
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9896
+  (0.4ms) rollback transaction
9897
+  (0.0ms) begin transaction
9898
+  (0.0ms) SAVEPOINT active_record_1
9899
+ Katgut::Rule Exists (0.1ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
9900
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-08-08 05:44:28.882159"], ["updated_at", "2016-08-08 05:44:28.882159"]]
9901
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9902
+ Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-08-08 14:44:28 +0900
9903
+ Processing by Katgut::RulesController#show as HTML
9904
+ Parameters: {"id"=>"torsitsugi_test_14"}
9905
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_14"]]
9906
+ Redirected to https://httpbin.org/
9907
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9908
+  (0.1ms) DELETE FROM "katgut_rules";
9909
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9910
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9911
+  (0.5ms) rollback transaction
9912
+  (0.1ms) begin transaction
9913
+  (0.0ms) SAVEPOINT active_record_1
9914
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
9915
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-08-08 05:44:28.892078"], ["updated_at", "2016-08-08 05:44:28.892078"]]
9916
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9917
+ Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-08-08 14:44:28 +0900
9918
+ Processing by Katgut::RulesController#show as HTML
9919
+ Parameters: {"id"=>"torsitsugi_test_15"}
9920
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_15"]]
9921
+ Redirected to http://httpbin.org/
9922
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9923
+  (0.1ms) DELETE FROM "katgut_rules";
9924
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9925
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9926
+  (0.4ms) rollback transaction
9927
+  (0.1ms) begin transaction
9928
+ Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-08-08 14:44:28 +0900
9929
+ Processing by Katgut::RulesController#show as HTML
9930
+ Parameters: {"id"=>"not-existing-source-keyword"}
9931
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
9932
+ Redirected to http://www.example.com/
9933
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9934
+  (0.3ms) DELETE FROM "katgut_rules";
9935
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9936
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9937
+  (0.4ms) rollback transaction
9938
+  (0.1ms) begin transaction
9939
+  (0.1ms) SAVEPOINT active_record_1
9940
+ Katgut::Rule Exists (0.2ms) SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
9941
+ SQL (0.3ms) INSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-08-08 05:44:28.912127"], ["updated_at", "2016-08-08 05:44:28.912127"]]
9942
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9943
+ Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-08-08 14:44:28 +0900
9944
+ Processing by Katgut::RulesController#show as HTML
9945
+ Parameters: {"id"=>"torsitsugi_test_16"}
9946
+ Katgut::Rule Load (0.1ms) SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_16"]]
9947
+ Redirected to http://www.example.com/
9948
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
9949
+  (0.1ms) DELETE FROM "katgut_rules";
9950
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9951
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'katgut_rules';
9952
+  (0.5ms) rollback transaction