redirector 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +3 -0
- data/Rakefile +2 -0
- data/app/models/redirect_rule.rb +1 -0
- data/lib/redirector/version.rb +1 -1
- data/spec/dummy/log/development.log +77199 -0
- data/spec/dummy/log/test.log +881 -0
- metadata +4 -4
data/spec/dummy/log/test.log
CHANGED
@@ -14580,3 +14580,884 @@ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
14580
14580
|
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "request_environment_rules" DISABLE TRIGGER ALL;ALTER TABLE "redirect_rules" DISABLE TRIGGER ALL[0m
|
14581
14581
|
[1m[35m (8.2ms)[0m TRUNCATE TABLE "request_environment_rules", "redirect_rules" RESTART IDENTITY CASCADE;
|
14582
14582
|
[1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "request_environment_rules" ENABLE TRIGGER ALL;ALTER TABLE "redirect_rules" ENABLE TRIGGER ALL[0m
|
14583
|
+
Connecting to database specified by database.yml
|
14584
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14585
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14586
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14587
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14588
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14589
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14590
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14591
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14592
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14593
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
14594
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14595
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14596
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14597
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14598
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14599
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14600
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14601
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14602
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14603
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14604
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14605
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14606
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14607
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14608
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
14609
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14610
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14611
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14612
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14613
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14614
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14615
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14616
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14617
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14618
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14619
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14620
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14621
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14622
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14623
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14624
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14625
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14626
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14627
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14628
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14629
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14630
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14631
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14632
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14633
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14634
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14635
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14636
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14637
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14638
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14639
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14640
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14641
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
14642
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14643
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14644
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14645
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14646
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14647
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14648
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14649
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14650
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14651
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14652
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14653
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
14654
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14655
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14656
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14657
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14658
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14659
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14660
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14661
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14662
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
14663
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14664
|
+
[1m[35m (0.9ms)[0m ROLLBACK
|
14665
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
14666
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14667
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14668
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14669
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14670
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14671
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14672
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14673
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
14674
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14675
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14676
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14677
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
14678
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14679
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14680
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14681
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14682
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14683
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14684
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14685
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14686
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14687
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14688
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14689
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14690
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14691
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14692
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14693
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14694
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
14695
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14696
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14697
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14698
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14699
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14700
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14701
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14702
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14703
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14704
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14705
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14706
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
14707
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14708
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14709
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14710
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14711
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14712
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14713
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14714
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14715
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14716
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14717
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14718
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14719
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14720
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14721
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14722
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14723
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14724
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14725
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14726
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14727
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14728
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14729
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14730
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14731
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14732
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14733
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14734
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14735
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14736
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14737
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14738
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14739
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14740
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
14741
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14742
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14743
|
+
[1m[36m (1.4ms)[0m [1mBEGIN[0m
|
14744
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14745
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
14746
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14747
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14748
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14749
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
14750
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14751
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14752
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14753
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14754
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14755
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
14756
|
+
Mysql2::Error: Table 'redirector_dummy_test.request_environment_rules' doesn't exist: SHOW FULL FIELDS FROM `request_environment_rules`
|
14757
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14758
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14759
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14760
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14761
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
14762
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
14763
|
+
[1m[36m (0.4ms)[0m [1mSELECT DATABASE() as db[0m
|
14764
|
+
[1m[35m (38.0ms)[0m select table_name from information_schema.views where table_schema = 'redirector_dummy_test'
|
14765
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
14766
|
+
[1m[35m (0.3ms)[0m BEGIN
|
14767
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14768
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
14769
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
14770
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
14771
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
14772
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14773
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14774
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14775
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
14776
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
14777
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
14778
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14779
|
+
Mysql2::Error: Table 'redirector_dummy_test.redirect_rules' doesn't exist: SHOW FULL FIELDS FROM `redirect_rules`
|
14780
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
14781
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
14782
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
14783
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
14784
|
+
Connecting to database specified by database.yml
|
14785
|
+
[1m[36m (166.2ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
14786
|
+
[1m[35m (472.1ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
14787
|
+
[1m[36m (0.4ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
14788
|
+
Migrating to CreateRedirectRules (20120815212612)
|
14789
|
+
[1m[35m (175.5ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
14790
|
+
[1m[36m (283.8ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)[0m
|
14791
|
+
[1m[35m (193.6ms)[0m CREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)
|
14792
|
+
[1m[36m (236.9ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)[0m
|
14793
|
+
[1m[35m (233.6ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)
|
14794
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120815212612')[0m
|
14795
|
+
Migrating to CreateRequestEnvironmentRules (20120823163756)
|
14796
|
+
[1m[35m (323.9ms)[0m CREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
14797
|
+
[1m[36m (228.0ms)[0m [1mCREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)[0m
|
14798
|
+
[1m[35m (0.7ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120823163756')
|
14799
|
+
[1m[36m (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
14800
|
+
Connecting to database specified by database.yml
|
14801
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14802
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14803
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14804
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14805
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
14806
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14807
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14808
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')
|
14809
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14810
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
14811
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14812
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14813
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14814
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14815
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
14816
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14817
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14818
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')
|
14819
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14820
|
+
[1m[35m (24.5ms)[0m ROLLBACK
|
14821
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14822
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14823
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14824
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14825
|
+
[1m[36m (5.4ms)[0m [1mROLLBACK[0m
|
14826
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14827
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14828
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')
|
14829
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14830
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
14831
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14832
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14833
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14834
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14835
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
14836
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14837
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14838
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')
|
14839
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14840
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
14841
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14842
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14843
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14844
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14845
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
14846
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14847
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14848
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')
|
14849
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14850
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
14851
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14852
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14853
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14854
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14855
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
14856
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14857
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14858
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')
|
14859
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14860
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
14861
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14862
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14863
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14864
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14865
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
14866
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14867
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14868
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')
|
14869
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14870
|
+
[1m[35m (0.9ms)[0m ROLLBACK
|
14871
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14872
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14873
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14874
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14875
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
14876
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14877
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14878
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')
|
14879
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14880
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
14881
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14882
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14883
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14884
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14885
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
14886
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14887
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14888
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')
|
14889
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14890
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
14891
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14892
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14893
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14894
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14895
|
+
[1m[36mRedirectRule Load (0.7ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
14896
|
+
((source_is_regex = 0 AND redirect_rules.source = '/someplace') OR
|
14897
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/someplace' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/someplace' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14898
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
14899
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14900
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14901
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14902
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14903
|
+
[1m[36mRedirectRule Load (0.4ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
14904
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
14905
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/catchy_thingy' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/catchy_thingy' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14906
|
+
[1m[35mRequestEnvironmentRule Load (0.5ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (20)
|
14907
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
14908
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14909
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14910
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')
|
14911
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14912
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14913
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 1, 1, '2012-08-28 19:49:20')[0m
|
14914
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14915
|
+
[1m[36mRedirectRule Load (0.6ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
14916
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_shiny/from_company') OR
|
14917
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/new_shiny/from_company' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/new_shiny/from_company' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14918
|
+
[1m[35mRequestEnvironmentRule Load (0.3ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (22)
|
14919
|
+
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
14920
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14921
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14922
|
+
[1m[35mSQL (1.5ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')
|
14923
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14924
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14925
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 1, 1, '2012-08-28 19:49:20')[0m
|
14926
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14927
|
+
[1m[36mRedirectRule Load (0.5ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
14928
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_SHINY/from_company') OR
|
14929
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/new_SHINY/from_company' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/new_SHINY/from_company' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14930
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
14931
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14932
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14933
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14934
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14935
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14936
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-28 19:49:20')
|
14937
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14938
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
14939
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_shiny/from_company') OR
|
14940
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/new_shiny/from_company' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/new_shiny/from_company' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14941
|
+
[1m[36mRequestEnvironmentRule Load (0.3ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (26)[0m
|
14942
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
14943
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14944
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
14945
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14946
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14947
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14948
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-28 19:49:20')
|
14949
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14950
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
14951
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_SHINY/from_company') OR
|
14952
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/new_SHINY/from_company' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/new_SHINY/from_company' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14953
|
+
[1m[36mRequestEnvironmentRule Load (0.5ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (28)[0m
|
14954
|
+
[1m[35m (0.8ms)[0m ROLLBACK
|
14955
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14956
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14957
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14958
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14959
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14960
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:20', 'SERVER_NAME', 'example.com', 1, 0, 29, '2012-08-28 19:49:20')
|
14961
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14962
|
+
[1m[35mRedirectRule Load (0.9ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
14963
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
14964
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/catchy_thingy' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/catchy_thingy' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14965
|
+
[1m[36mRequestEnvironmentRule Load (0.5ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (29)[0m
|
14966
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
14967
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14968
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14969
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14970
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14971
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14972
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:20', 'SERVER_NAME', 'example.com', 1, 0, 30, '2012-08-28 19:49:20')
|
14973
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14974
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
14975
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
14976
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/catchy_thingy' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/catchy_thingy' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14977
|
+
[1m[36mRequestEnvironmentRule Load (0.3ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (30)[0m
|
14978
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
14979
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14980
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14981
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
14982
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14983
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14984
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:20', 'SERVER_NAME', 'example.com', 1, 0, 31, '2012-08-28 19:49:20')
|
14985
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14986
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14987
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:20', 'QUERY_STRING', 'something=value', 1, 1, 31, '2012-08-28 19:49:20')[0m
|
14988
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14989
|
+
[1m[36mRedirectRule Load (0.5ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
14990
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
14991
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/catchy_thingy' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/catchy_thingy' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14992
|
+
[1m[35mRequestEnvironmentRule Load (0.5ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (31)
|
14993
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
14994
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14995
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14996
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')
|
14997
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14998
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14999
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:20', 'SERVER_NAME', 'example.com', 1, 0, 32, '2012-08-28 19:49:20')[0m
|
15000
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
15001
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15002
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:20', 'QUERY_STRING', 'something=value', 1, 1, 32, '2012-08-28 19:49:20')
|
15003
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15004
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15005
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
15006
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/catchy_thingy' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/catchy_thingy' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
15007
|
+
[1m[36mRequestEnvironmentRule Load (0.5ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (32)[0m
|
15008
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
15009
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15010
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15011
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
15012
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15013
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15014
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')
|
15015
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15016
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15017
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:20', 'SERVER_NAME', 'example.com', 1, 0, 33, '2012-08-28 19:49:20')[0m
|
15018
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15019
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15020
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:20', 'QUERY_STRING', 'something=value', 1, 1, 33, '2012-08-28 19:49:20')
|
15021
|
+
[1m[36m (0.8ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15022
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
15023
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:20', 'SERVER_NAME', 'example.com', 1, 0, 34, '2012-08-28 19:49:20')[0m
|
15024
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15025
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15026
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:20', 'QUERY_STRING', 'another=value', 1, 1, 34, '2012-08-28 19:49:20')
|
15027
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15028
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15029
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
15030
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/catchy_thingy' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/catchy_thingy' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
15031
|
+
[1m[36mRequestEnvironmentRule Load (0.5ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (33, 34)[0m
|
15032
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
15033
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15034
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15035
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
15036
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15037
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
15038
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')
|
15039
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15040
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
15041
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:20', 'SERVER_NAME', 'example.com', 1, 0, 35, '2012-08-28 19:49:20')[0m
|
15042
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15043
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15044
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:20', 'QUERY_STRING', 'something=value', 1, 1, 35, '2012-08-28 19:49:20')
|
15045
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15046
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15047
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:20', 'SERVER_NAME', 'example.com', 1, 0, 36, '2012-08-28 19:49:20')[0m
|
15048
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15049
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15050
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:20', 'QUERY_STRING', 'another=value', 1, 1, 36, '2012-08-28 19:49:20')
|
15051
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15052
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15053
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
15054
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/catchy_thingy' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/catchy_thingy' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
15055
|
+
[1m[36mRequestEnvironmentRule Load (0.4ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (35, 36)[0m
|
15056
|
+
[1m[35m (0.8ms)[0m ROLLBACK
|
15057
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15058
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15059
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:20', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:20')[0m
|
15060
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15061
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15062
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')
|
15063
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15064
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15065
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 37, '2012-08-28 19:49:21')[0m
|
15066
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15067
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15068
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'QUERY_STRING', 'something=value', 1, 1, 37, '2012-08-28 19:49:21')
|
15069
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15070
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15071
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 38, '2012-08-28 19:49:21')[0m
|
15072
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15073
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15074
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'QUERY_STRING', 'another=value', 1, 1, 38, '2012-08-28 19:49:21')
|
15075
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15076
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15077
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
15078
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/catchy_thingy' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/catchy_thingy' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
15079
|
+
[1m[36mRequestEnvironmentRule Load (0.4ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (37, 38)[0m
|
15080
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
15081
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15082
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
15083
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15084
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15085
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15086
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/news/$1', '[A-Za-z0-9]_thingy', 0, 1, '2012-08-28 19:49:21')
|
15087
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15088
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15089
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
15090
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/catchy_thingy' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/catchy_thingy' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
15091
|
+
[1m[36mRequestEnvironmentRule Load (0.5ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (39, 40)[0m
|
15092
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
15093
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15094
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15095
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15096
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15097
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15098
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-28 19:49:21')
|
15099
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15100
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15101
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_shiny/from_company') OR
|
15102
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/new_shiny/from_company' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/new_shiny/from_company' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
15103
|
+
[1m[36mRequestEnvironmentRule Load (0.4ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (42)[0m
|
15104
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
15105
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15106
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15107
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15108
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15109
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15110
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-28 19:49:21')
|
15111
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15112
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15113
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
15114
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/catchy_thingy' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/catchy_thingy' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
15115
|
+
[1m[36mRequestEnvironmentRule Load (0.4ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (43)[0m
|
15116
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
15117
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15118
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15119
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15120
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15121
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15122
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-28 19:49:21')
|
15123
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15124
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15125
|
+
((source_is_regex = 0 AND redirect_rules.source = '/someplace') OR
|
15126
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/someplace' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/someplace' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
15127
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
15128
|
+
[1m[35m (0.1ms)[0m BEGIN
|
15129
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15130
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')
|
15131
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15132
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
15133
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15134
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15135
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15136
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15137
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
15138
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-28 19:49:21')
|
15139
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15140
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
15141
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15142
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
15143
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15144
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
15145
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15146
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 50, '2012-08-28 19:49:21')
|
15147
|
+
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15148
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
15149
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15150
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15151
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15152
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15153
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15154
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 51, '2012-08-28 19:49:21')
|
15155
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15156
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
15157
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15158
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15159
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15160
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15161
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15162
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 52, '2012-08-28 19:49:21')
|
15163
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15164
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
15165
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15166
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
15167
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15168
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15169
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15170
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 53, '2012-08-28 19:49:21')
|
15171
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15172
|
+
[1m[35m (15.5ms)[0m ROLLBACK
|
15173
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15174
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15175
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15176
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15177
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15178
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 54, '2012-08-28 19:49:21')
|
15179
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15180
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
15181
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15182
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15183
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15184
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15185
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15186
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 55, '2012-08-28 19:49:21')
|
15187
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15188
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
15189
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15190
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15191
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15192
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15193
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15194
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 56, '2012-08-28 19:49:21')
|
15195
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15196
|
+
[1m[35m (0.9ms)[0m ROLLBACK
|
15197
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15198
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15199
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15200
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15201
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15202
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 57, '2012-08-28 19:49:21')
|
15203
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15204
|
+
[1m[35m (1.0ms)[0m ROLLBACK
|
15205
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15206
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
15207
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15208
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15209
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15210
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 58, '2012-08-28 19:49:21')
|
15211
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15212
|
+
[1m[35m (0.8ms)[0m ROLLBACK
|
15213
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
15214
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
15215
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15216
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15217
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15218
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 59, '2012-08-28 19:49:21')
|
15219
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15220
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
15221
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
15222
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
15223
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15224
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15225
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15226
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 60, '2012-08-28 19:49:21')
|
15227
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15228
|
+
[1m[35m (1.4ms)[0m ROLLBACK
|
15229
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15230
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15231
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15232
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15233
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15234
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 61, '2012-08-28 19:49:21')
|
15235
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15236
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
15237
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15238
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15239
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15240
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15241
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15242
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 62, '2012-08-28 19:49:21')
|
15243
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15244
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
15245
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15246
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15247
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15248
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15249
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15250
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 63, '2012-08-28 19:49:21')
|
15251
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15252
|
+
[1m[35m (1.7ms)[0m ROLLBACK
|
15253
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15254
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15255
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15256
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15257
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15258
|
+
[1m[35mSQL (2.4ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 64, '2012-08-28 19:49:21')
|
15259
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15260
|
+
[1m[35m (1.7ms)[0m ROLLBACK
|
15261
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15262
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15263
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15264
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15265
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15266
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 65, '2012-08-28 19:49:21')
|
15267
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15268
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
15269
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15270
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15271
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15272
|
+
[1m[35m (1.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15273
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15274
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 66, '2012-08-28 19:49:21')
|
15275
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15276
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
15277
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15278
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15279
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')[0m
|
15280
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15281
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
15282
|
+
[1m[35m (0.1ms)[0m BEGIN
|
15283
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15284
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')
|
15285
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15286
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15287
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'SERVER_NAME', 'example.com', 1, 0, 68, '2012-08-28 19:49:21')[0m
|
15288
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15289
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
15290
|
+
[1m[35m (0.1ms)[0m BEGIN
|
15291
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15292
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')
|
15293
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15294
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15295
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'QUERY_STRING', 'something=value', 1, 1, 69, '2012-08-28 19:49:21')[0m
|
15296
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15297
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
15298
|
+
[1m[35m (0.1ms)[0m BEGIN
|
15299
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
15300
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-28 19:49:21')
|
15301
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15302
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15303
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `request_environment_rules` (`created_at`, `environment_key_name`, `environment_value`, `environment_value_is_case_sensitive`, `environment_value_is_regex`, `redirect_rule_id`, `updated_at`) VALUES ('2012-08-28 19:49:21', 'QUERY_STRING', 'something=value', 0, 1, 70, '2012-08-28 19:49:21')[0m
|
15304
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15305
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
15306
|
+
[1m[35m (0.1ms)[0m BEGIN
|
15307
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15308
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', '/news/5', '/my_custom_url', 0, 0, '2012-08-28 19:49:21')
|
15309
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15310
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15311
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', '/news/$1', '/my_custom_url/([A-Za-z0-9_]+)', 0, 1, '2012-08-28 19:49:21')[0m
|
15312
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15313
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15314
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', '/news', 'categoryID=12345', 0, 1, '2012-08-28 19:49:21')
|
15315
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15316
|
+
[1m[35mRedirectRule Load (0.9ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15317
|
+
((source_is_regex = 0 AND redirect_rules.source = '/my_custom_url') OR
|
15318
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/my_custom_url' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/my_custom_url' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
15319
|
+
[1m[36mRequestEnvironmentRule Load (0.5ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (71)[0m
|
15320
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15321
|
+
((source_is_regex = 0 AND redirect_rules.source = '/news/5') OR
|
15322
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/news/5' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/news/5' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
15323
|
+
|
15324
|
+
|
15325
|
+
Started GET "/news/5" for 127.0.0.1 at 2012-08-28 13:49:21 -0600
|
15326
|
+
Processing by NewsController#show as HTML
|
15327
|
+
Parameters: {"id"=>"5"}
|
15328
|
+
Rendered text template (0.0ms)
|
15329
|
+
Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
|
15330
|
+
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
15331
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
15332
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
15333
|
+
[1m[35m (0.1ms)[0m SELECT DATABASE() as db
|
15334
|
+
[1m[36m (1.1ms)[0m [1mselect table_name from information_schema.views where table_schema = 'redirector_dummy_test'[0m
|
15335
|
+
[1m[35m (1.6ms)[0m TRUNCATE TABLE `redirect_rules`;
|
15336
|
+
[1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `request_environment_rules`;[0m
|
15337
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
15338
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15339
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
15340
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', '/news/5', '/my_custom_url', 0, 0, '2012-08-28 19:49:21')[0m
|
15341
|
+
[1m[35m (0.9ms)[0m RELEASE SAVEPOINT active_record_1
|
15342
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
15343
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', '/news/$1', '/my_custom_url/([A-Za-z0-9_]+)', 0, 1, '2012-08-28 19:49:21')
|
15344
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15345
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
15346
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', '/news', 'categoryID=12345', 0, 1, '2012-08-28 19:49:21')[0m
|
15347
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15348
|
+
[1m[36mRedirectRule Load (0.9ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15349
|
+
((source_is_regex = 0 AND redirect_rules.source = '/my_custom_url/20') OR
|
15350
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/my_custom_url/20' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/my_custom_url/20' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
15351
|
+
[1m[35mRequestEnvironmentRule Load (0.6ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (2)
|
15352
|
+
[1m[36mRedirectRule Load (0.6ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15353
|
+
((source_is_regex = 0 AND redirect_rules.source = '/news/20') OR
|
15354
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/news/20' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/news/20' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
15355
|
+
|
15356
|
+
|
15357
|
+
Started GET "/news/20" for 127.0.0.1 at 2012-08-28 13:49:21 -0600
|
15358
|
+
Processing by NewsController#show as HTML
|
15359
|
+
Parameters: {"id"=>"20"}
|
15360
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
15361
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
15362
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
15363
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
15364
|
+
[1m[36m (2.0ms)[0m [1mTRUNCATE TABLE `redirect_rules`;[0m
|
15365
|
+
[1m[35m (2.2ms)[0m TRUNCATE TABLE `request_environment_rules`;
|
15366
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
15367
|
+
[1m[35m (0.8ms)[0m BEGIN
|
15368
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
15369
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', '/news/5', '/my_custom_url', 0, 0, '2012-08-28 19:49:21')
|
15370
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15371
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
15372
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', '/news/$1', '/my_custom_url/([A-Za-z0-9_]+)', 0, 1, '2012-08-28 19:49:21')[0m
|
15373
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
15374
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
15375
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', '/news', 'categoryID=12345', 0, 1, '2012-08-28 19:49:21')
|
15376
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15377
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15378
|
+
((source_is_regex = 0 AND redirect_rules.source = '/my_old_url') OR
|
15379
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/my_old_url' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/my_old_url' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
15380
|
+
|
15381
|
+
|
15382
|
+
Started GET "/my_old_url?categoryID=12345" for 127.0.0.1 at 2012-08-28 13:49:21 -0600
|
15383
|
+
|
15384
|
+
ActionController::RoutingError (No route matches [GET] "/my_old_url"):
|
15385
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
15386
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
15387
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
15388
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
15389
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
15390
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
15391
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
15392
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
15393
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
15394
|
+
/Users/brianlandau/Projects/redirector/lib/redirector/middleware.rb:23:in `response'
|
15395
|
+
/Users/brianlandau/Projects/redirector/lib/redirector/middleware.rb:8:in `call'
|
15396
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
15397
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
15398
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
15399
|
+
rack (1.4.1) lib/rack/builder.rb:134:in `call'
|
15400
|
+
rack (1.4.1) lib/rack/urlmap.rb:64:in `block in call'
|
15401
|
+
rack (1.4.1) lib/rack/urlmap.rb:49:in `each'
|
15402
|
+
rack (1.4.1) lib/rack/urlmap.rb:49:in `call'
|
15403
|
+
rack-test (0.6.1) lib/rack/mock_session.rb:30:in `request'
|
15404
|
+
rack-test (0.6.1) lib/rack/test.rb:219:in `process_request'
|
15405
|
+
rack-test (0.6.1) lib/rack/test.rb:57:in `get'
|
15406
|
+
/Users/brianlandau/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/forwardable.rb:201:in `get'
|
15407
|
+
capybara (1.1.2) lib/capybara/rack_test/browser.rb:62:in `process'
|
15408
|
+
capybara (1.1.2) lib/capybara/rack_test/browser.rb:21:in `visit'
|
15409
|
+
capybara (1.1.2) lib/capybara/rack_test/driver.rb:32:in `visit'
|
15410
|
+
capybara (1.1.2) lib/capybara/session.rb:157:in `visit'
|
15411
|
+
capybara (1.1.2) lib/capybara/dsl.rb:161:in `visit'
|
15412
|
+
/Users/brianlandau/Projects/redirector/spec/requests/middleware_spec.rb:21:in `block (2 levels) in <top (required)>'
|
15413
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:113:in `instance_eval'
|
15414
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:113:in `block in run'
|
15415
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:253:in `with_around_each_hooks'
|
15416
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:110:in `run'
|
15417
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:378:in `block in run_examples'
|
15418
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:374:in `map'
|
15419
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:374:in `run_examples'
|
15420
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:360:in `run'
|
15421
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
|
15422
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `map'
|
15423
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `block in run'
|
15424
|
+
rspec-core (2.11.1) lib/rspec/core/reporter.rb:34:in `report'
|
15425
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:25:in `run'
|
15426
|
+
rspec-core (2.11.1) lib/rspec/core/runner.rb:69:in `run'
|
15427
|
+
rspec-core (2.11.1) lib/rspec/core/runner.rb:8:in `block in autorun'
|
15428
|
+
|
15429
|
+
|
15430
|
+
[1m[36m (14.4ms)[0m [1mROLLBACK[0m
|
15431
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
15432
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
15433
|
+
[1m[35m (9.5ms)[0m TRUNCATE TABLE `redirect_rules`;
|
15434
|
+
[1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `request_environment_rules`;[0m
|
15435
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
15436
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
15437
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15438
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', '/news/5', '/my_custom_url', 0, 0, '2012-08-28 19:49:21')[0m
|
15439
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15440
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
15441
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', '/news/$1', '/my_custom_url/([A-Za-z0-9_]+)', 0, 1, '2012-08-28 19:49:21')
|
15442
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15443
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15444
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-28 19:49:21', '/news', 'categoryID=12345', 0, 1, '2012-08-28 19:49:21')[0m
|
15445
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
15446
|
+
[1m[36mRedirectRule Load (0.7ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15447
|
+
((source_is_regex = 0 AND redirect_rules.source = '/my_old_url?categoryID=12345') OR
|
15448
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/my_old_url?categoryID=12345' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/my_old_url?categoryID=12345' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
15449
|
+
[1m[35mRequestEnvironmentRule Load (0.3ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` IN (3)
|
15450
|
+
[1m[36mRedirectRule Load (0.9ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
15451
|
+
((source_is_regex = 0 AND redirect_rules.source = '/news') OR
|
15452
|
+
(source_is_regex = 1 AND ((redirect_rules.source_is_case_sensitive = 1 AND '/news' REGEXP BINARY redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 0 AND '/news' REGEXP redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
15453
|
+
|
15454
|
+
|
15455
|
+
Started GET "/news" for 127.0.0.1 at 2012-08-28 13:49:21 -0600
|
15456
|
+
Processing by NewsController#index as HTML
|
15457
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
15458
|
+
[1m[35m (1.0ms)[0m ROLLBACK
|
15459
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
15460
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
15461
|
+
[1m[36m (1.6ms)[0m [1mTRUNCATE TABLE `redirect_rules`;[0m
|
15462
|
+
[1m[35m (1.5ms)[0m TRUNCATE TABLE `request_environment_rules`;
|
15463
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|