redirector 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +3 -0
- data/app/models/redirect_rule.rb +3 -1
- data/lib/redirector/version.rb +1 -1
- data/spec/dummy/log/test.log +1990 -0
- data/spec/models/redirect_rule_spec.rb +8 -0
- metadata +4 -4
data/HISTORY
CHANGED
@@ -11,3 +11,6 @@
|
|
11
11
|
* Destroy RequestEnvironmentRules when the parent RedirectRule is destroyed
|
12
12
|
* Add some more indexes to redirect_rules table
|
13
13
|
* Allow query strings to be part of the match on RedirectRules
|
14
|
+
|
15
|
+
== 0.1.2 / 2012-08-27
|
16
|
+
* Change ordering on match to prefer exact matches and longer matches
|
data/app/models/redirect_rule.rb
CHANGED
@@ -32,7 +32,9 @@ class RedirectRule < ActiveRecord::Base
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def self.match_for(source, environment)
|
35
|
-
where(match_sql_condition.strip, {:true => true, :false => false, :source => source})
|
35
|
+
match_scope = where(match_sql_condition.strip, {:true => true, :false => false, :source => source})
|
36
|
+
match_scope = match_scope.order('redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC')
|
37
|
+
match_scope.detect do |rule|
|
36
38
|
rule.request_environment_rules.all? {|env_rule| env_rule.matches?(environment) }
|
37
39
|
end
|
38
40
|
end
|
data/lib/redirector/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -12590,3 +12590,1993 @@ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
12590
12590
|
[1m[36m (1.6ms)[0m [1mTRUNCATE TABLE `redirect_rules`;[0m
|
12591
12591
|
[1m[35m (2.4ms)[0m TRUNCATE TABLE `request_environment_rules`;
|
12592
12592
|
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
12593
|
+
Connecting to database specified by database.yml
|
12594
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12595
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12596
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:31', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:31')[0m
|
12597
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
12598
|
+
[1m[36m (59.9ms)[0m [1mROLLBACK[0m
|
12599
|
+
[1m[35m (0.1ms)[0m BEGIN
|
12600
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12601
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12602
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12603
|
+
[1m[35m (5.5ms)[0m ROLLBACK
|
12604
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12605
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12606
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12607
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12608
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
12609
|
+
[1m[35m (0.1ms)[0m BEGIN
|
12610
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
12611
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12612
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12613
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
12614
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12615
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12616
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12617
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
12618
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
12619
|
+
[1m[35m (0.1ms)[0m BEGIN
|
12620
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
12621
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12622
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12623
|
+
[1m[35m (0.9ms)[0m ROLLBACK
|
12624
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12625
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12626
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12627
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12628
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
12629
|
+
[1m[35m (0.1ms)[0m BEGIN
|
12630
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
12631
|
+
[1m[35mSQL (11.1ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12632
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12633
|
+
[1m[35m (0.8ms)[0m ROLLBACK
|
12634
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12635
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12636
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12637
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12638
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
12639
|
+
[1m[35m (0.1ms)[0m BEGIN
|
12640
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12641
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12642
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12643
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
12644
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
12645
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12646
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12647
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12648
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
12649
|
+
[1m[35m (0.1ms)[0m BEGIN
|
12650
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12651
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12652
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12653
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
12654
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12655
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12656
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12657
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12658
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
12659
|
+
[1m[35m (0.4ms)[0m BEGIN
|
12660
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12661
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12662
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12663
|
+
[1m[35m (0.8ms)[0m ROLLBACK
|
12664
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12665
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12666
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12667
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
12668
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
12669
|
+
[1m[35m (0.1ms)[0m BEGIN
|
12670
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12671
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12672
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12673
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
12674
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12675
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12676
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12677
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
12678
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
12679
|
+
[1m[35m (0.1ms)[0m BEGIN
|
12680
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12681
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12682
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12683
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
12684
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12685
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12686
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12687
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12688
|
+
[1m[36mRedirectRule Load (0.8ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12689
|
+
((source_is_regex = 0 AND redirect_rules.source = '/someplace') OR
|
12690
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC[0m
|
12691
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
12692
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12693
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12694
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12695
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12696
|
+
[1m[36mRedirectRule Load (0.5ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12697
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
12698
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC[0m
|
12699
|
+
[1m[35mRequestEnvironmentRule Load (0.5ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 20
|
12700
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
12701
|
+
[1m[35m (0.1ms)[0m BEGIN
|
12702
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12703
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12704
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12705
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12706
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:32', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 1, 1, '2012-08-27 19:14:32')[0m
|
12707
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12708
|
+
[1m[36mRedirectRule Load (0.6ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12709
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_shiny/from_company') OR
|
12710
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC[0m
|
12711
|
+
[1m[35mRequestEnvironmentRule Load (0.5ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 22
|
12712
|
+
[1m[36m (0.9ms)[0m [1mROLLBACK[0m
|
12713
|
+
[1m[35m (0.1ms)[0m BEGIN
|
12714
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12715
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12716
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12717
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12718
|
+
[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-27 19:14:32', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 1, 1, '2012-08-27 19:14:32')[0m
|
12719
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12720
|
+
[1m[36mRedirectRule Load (0.6ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12721
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_SHINY/from_company') OR
|
12722
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC[0m
|
12723
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
12724
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12725
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12726
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12727
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12728
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12729
|
+
[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-27 19:14:32', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:32')
|
12730
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12731
|
+
[1m[35mRedirectRule Load (0.4ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12732
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_shiny/from_company') OR
|
12733
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC
|
12734
|
+
[1m[36mRequestEnvironmentRule Load (0.3ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 26[0m
|
12735
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
12736
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12737
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12738
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12739
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12740
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
12741
|
+
[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-27 19:14:32', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:32')
|
12742
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12743
|
+
[1m[35mRedirectRule Load (0.5ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12744
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_SHINY/from_company') OR
|
12745
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC
|
12746
|
+
[1m[36mRequestEnvironmentRule Load (0.3ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 28[0m
|
12747
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
12748
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12749
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12750
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12751
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12752
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
12753
|
+
[1m[35mSQL (16.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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 29, '2012-08-27 19:14:32')
|
12754
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12755
|
+
[1m[35mRedirectRule Load (0.5ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12756
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
12757
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC
|
12758
|
+
[1m[36mRequestEnvironmentRule Load (0.4ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 29[0m
|
12759
|
+
[1m[35m (1.3ms)[0m ROLLBACK
|
12760
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12761
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12762
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12763
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12764
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12765
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 30, '2012-08-27 19:14:32')
|
12766
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12767
|
+
[1m[35mRedirectRule Load (0.5ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12768
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
12769
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC
|
12770
|
+
[1m[36mRequestEnvironmentRule Load (0.3ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 30[0m
|
12771
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
12772
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12773
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12774
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12775
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
12776
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12777
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 31, '2012-08-27 19:14:32')
|
12778
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12779
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12780
|
+
[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-27 19:14:32', 'QUERY_STRING', 'something=value', 1, 1, 31, '2012-08-27 19:14:32')[0m
|
12781
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
12782
|
+
[1m[36mRedirectRule Load (0.5ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12783
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
12784
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC[0m
|
12785
|
+
[1m[35mRequestEnvironmentRule Load (0.3ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 31
|
12786
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
12787
|
+
[1m[35m (0.1ms)[0m BEGIN
|
12788
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
12789
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12790
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12791
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12792
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 32, '2012-08-27 19:14:32')[0m
|
12793
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12794
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12795
|
+
[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-27 19:14:32', 'QUERY_STRING', 'something=value', 1, 1, 32, '2012-08-27 19:14:32')
|
12796
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12797
|
+
[1m[35mRedirectRule Load (0.9ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12798
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
12799
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC
|
12800
|
+
[1m[36mRequestEnvironmentRule Load (0.5ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 32[0m
|
12801
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
12802
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12803
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12804
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12805
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12806
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12807
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12808
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12809
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12810
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 33, '2012-08-27 19:14:32')[0m
|
12811
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12812
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12813
|
+
[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-27 19:14:32', 'QUERY_STRING', 'something=value', 1, 1, 33, '2012-08-27 19:14:32')
|
12814
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12815
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12816
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 34, '2012-08-27 19:14:32')[0m
|
12817
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
12818
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
12819
|
+
[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-27 19:14:32', 'QUERY_STRING', 'another=value', 1, 1, 34, '2012-08-27 19:14:32')
|
12820
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12821
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12822
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
12823
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC
|
12824
|
+
[1m[36mRequestEnvironmentRule Load (0.3ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 33[0m
|
12825
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
12826
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12827
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12828
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12829
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12830
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12831
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12832
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12833
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12834
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 35, '2012-08-27 19:14:32')[0m
|
12835
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
12836
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
12837
|
+
[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-27 19:14:32', 'QUERY_STRING', 'something=value', 1, 1, 35, '2012-08-27 19:14:32')
|
12838
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12839
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12840
|
+
[1m[36mSQL (0.6ms)[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 36, '2012-08-27 19:14:32')[0m
|
12841
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
12842
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
12843
|
+
[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-27 19:14:32', 'QUERY_STRING', 'another=value', 1, 1, 36, '2012-08-27 19:14:32')
|
12844
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12845
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12846
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
12847
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC
|
12848
|
+
[1m[36mRequestEnvironmentRule Load (0.4ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 35[0m
|
12849
|
+
[1m[35mRequestEnvironmentRule Load (0.3ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 36
|
12850
|
+
[1m[36m (15.0ms)[0m [1mROLLBACK[0m
|
12851
|
+
[1m[35m (0.1ms)[0m BEGIN
|
12852
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12853
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12854
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12855
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12856
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12857
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12858
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12859
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 37, '2012-08-27 19:14:32')
|
12860
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12861
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12862
|
+
[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-27 19:14:32', 'QUERY_STRING', 'something=value', 1, 1, 37, '2012-08-27 19:14:32')[0m
|
12863
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12864
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12865
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 38, '2012-08-27 19:14:32')
|
12866
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12867
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12868
|
+
[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-27 19:14:32', 'QUERY_STRING', 'another=value', 1, 1, 38, '2012-08-27 19:14:32')[0m
|
12869
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12870
|
+
[1m[36mRedirectRule Load (0.5ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12871
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
12872
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC[0m
|
12873
|
+
[1m[35mRequestEnvironmentRule Load (0.5ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 37
|
12874
|
+
[1m[36mRequestEnvironmentRule Load (0.4ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 38[0m
|
12875
|
+
[1m[35m (9.8ms)[0m ROLLBACK
|
12876
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12877
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12878
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12879
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
12880
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
12881
|
+
[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-27 19:14:32', 'http://www.example.com/news/$1', '[A-Za-z0-9]_thingy', 0, 1, '2012-08-27 19:14:32')
|
12882
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12883
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12884
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
12885
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC
|
12886
|
+
[1m[36mRequestEnvironmentRule Load (0.3ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 40[0m
|
12887
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
12888
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12889
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12890
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12891
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12892
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12893
|
+
[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-27 19:14:32', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:32')
|
12894
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12895
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12896
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_shiny/from_company') OR
|
12897
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC
|
12898
|
+
[1m[36mRequestEnvironmentRule Load (0.3ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 42[0m
|
12899
|
+
[1m[35m (0.8ms)[0m ROLLBACK
|
12900
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12901
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12902
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12903
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12904
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12905
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:32', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:32')
|
12906
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12907
|
+
[1m[35mRedirectRule Load (0.5ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12908
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
12909
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC
|
12910
|
+
[1m[36mRequestEnvironmentRule Load (0.4ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 43[0m
|
12911
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
12912
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12913
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12914
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12915
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12916
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
12917
|
+
[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-27 19:14:32', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:32')
|
12918
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12919
|
+
[1m[35mRedirectRule Load (0.5ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
12920
|
+
((source_is_regex = 0 AND redirect_rules.source = '/someplace') OR
|
12921
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC
|
12922
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
12923
|
+
[1m[35m (0.1ms)[0m BEGIN
|
12924
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12925
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
12926
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12927
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
12928
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12929
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12930
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12931
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12932
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12933
|
+
[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-27 19:14:32', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:32')
|
12934
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12935
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
12936
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
12937
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12938
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12939
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
12940
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12941
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 50, '2012-08-27 19:14:32')
|
12942
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12943
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
12944
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12945
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12946
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12947
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12948
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12949
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 51, '2012-08-27 19:14:32')
|
12950
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12951
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
12952
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12953
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
12954
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12955
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12956
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12957
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 52, '2012-08-27 19:14:32')
|
12958
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12959
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
12960
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12961
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12962
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12963
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12964
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12965
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 53, '2012-08-27 19:14:32')
|
12966
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12967
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
12968
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12969
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12970
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12971
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12972
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12973
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 54, '2012-08-27 19:14:32')
|
12974
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12975
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
12976
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12977
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12978
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12979
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12980
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12981
|
+
[1m[35mSQL (0.5ms)[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 55, '2012-08-27 19:14:32')
|
12982
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12983
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
12984
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12985
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12986
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12987
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
12988
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
12989
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 56, '2012-08-27 19:14:32')
|
12990
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12991
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
12992
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12993
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
12994
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
12995
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
12996
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12997
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 57, '2012-08-27 19:14:32')
|
12998
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
12999
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
13000
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13001
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13002
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
13003
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13004
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13005
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 58, '2012-08-27 19:14:32')
|
13006
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13007
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
13008
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13009
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13010
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
13011
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13012
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13013
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 59, '2012-08-27 19:14:32')
|
13014
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13015
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
13016
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13017
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13018
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
13019
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13020
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13021
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 60, '2012-08-27 19:14:32')
|
13022
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13023
|
+
[1m[35m (1.0ms)[0m ROLLBACK
|
13024
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13025
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13026
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
13027
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13028
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
13029
|
+
[1m[35mSQL (0.5ms)[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 61, '2012-08-27 19:14:32')
|
13030
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13031
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13032
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13033
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13034
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
13035
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13036
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13037
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 62, '2012-08-27 19:14:32')
|
13038
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13039
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
13040
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13041
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13042
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
13043
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
13044
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13045
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 63, '2012-08-27 19:14:32')
|
13046
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13047
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
13048
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13049
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13050
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
13051
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13052
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13053
|
+
[1m[35mSQL (0.5ms)[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 64, '2012-08-27 19:14:32')
|
13054
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13055
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13056
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13057
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13058
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
13059
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13060
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13061
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 65, '2012-08-27 19:14:32')
|
13062
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13063
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13064
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13065
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13066
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
13067
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13068
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13069
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 66, '2012-08-27 19:14:32')
|
13070
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13071
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
13072
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13073
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13074
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')[0m
|
13075
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13076
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
13077
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13078
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13079
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
13080
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13081
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
13082
|
+
[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-27 19:14:32', 'SERVER_NAME', 'example.com', 1, 0, 68, '2012-08-27 19:14:32')[0m
|
13083
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13084
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
13085
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13086
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13087
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
13088
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13089
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13090
|
+
[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-27 19:14:32', 'QUERY_STRING', 'something=value', 1, 1, 69, '2012-08-27 19:14:32')[0m
|
13091
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13092
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
13093
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13094
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13095
|
+
[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-27 19:14:32', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:32')
|
13096
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13097
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13098
|
+
[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-27 19:14:32', 'QUERY_STRING', 'something=value', 0, 1, 70, '2012-08-27 19:14:32')[0m
|
13099
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13100
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
13101
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13102
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13103
|
+
[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-27 19:14:32', '/news/5', '/my_custom_url', 0, 0, '2012-08-27 19:14:32')
|
13104
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13105
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13106
|
+
[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-27 19:14:32', '/news/$1', '/my_custom_url/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:32')[0m
|
13107
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13108
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13109
|
+
[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-27 19:14:32', '/news', 'categoryID=12345', 0, 1, '2012-08-27 19:14:32')
|
13110
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13111
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13112
|
+
((source_is_regex = 0 AND redirect_rules.source = '/my_custom_url') OR
|
13113
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC
|
13114
|
+
[1m[36mRequestEnvironmentRule Load (0.5ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 71[0m
|
13115
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13116
|
+
((source_is_regex = 0 AND redirect_rules.source = '/news/5') OR
|
13117
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC
|
13118
|
+
|
13119
|
+
|
13120
|
+
Started GET "/news/5" for 127.0.0.1 at 2012-08-27 13:14:33 -0600
|
13121
|
+
Processing by NewsController#show as HTML
|
13122
|
+
Parameters: {"id"=>"5"}
|
13123
|
+
Rendered text template (0.0ms)
|
13124
|
+
Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
|
13125
|
+
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
|
13126
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
13127
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
13128
|
+
[1m[35m (0.3ms)[0m SELECT DATABASE() as db
|
13129
|
+
[1m[36m (1.4ms)[0m [1mselect table_name from information_schema.views where table_schema = 'redirector_dummy_test'[0m
|
13130
|
+
[1m[35m (91.9ms)[0m TRUNCATE TABLE `redirect_rules`;
|
13131
|
+
[1m[36m (31.1ms)[0m [1mTRUNCATE TABLE `request_environment_rules`;[0m
|
13132
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
13133
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13134
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13135
|
+
[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-27 19:14:33', '/news/5', '/my_custom_url', 0, 0, '2012-08-27 19:14:33')[0m
|
13136
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13137
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13138
|
+
[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-27 19:14:33', '/news/$1', '/my_custom_url/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:33')
|
13139
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13140
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13141
|
+
[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-27 19:14:33', '/news', 'categoryID=12345', 0, 1, '2012-08-27 19:14:33')[0m
|
13142
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13143
|
+
[1m[36mRedirectRule Load (0.6ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13144
|
+
((source_is_regex = 0 AND redirect_rules.source = '/my_custom_url/20') OR
|
13145
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC[0m
|
13146
|
+
[1m[35mRequestEnvironmentRule Load (0.4ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 2
|
13147
|
+
[1m[36mRedirectRule Load (0.6ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13148
|
+
((source_is_regex = 0 AND redirect_rules.source = '/news/20') OR
|
13149
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC[0m
|
13150
|
+
|
13151
|
+
|
13152
|
+
Started GET "/news/20" for 127.0.0.1 at 2012-08-27 13:14:33 -0600
|
13153
|
+
Processing by NewsController#show as HTML
|
13154
|
+
Parameters: {"id"=>"20"}
|
13155
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
13156
|
+
[1m[35m (0.9ms)[0m ROLLBACK
|
13157
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
13158
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
13159
|
+
[1m[36m (44.6ms)[0m [1mTRUNCATE TABLE `redirect_rules`;[0m
|
13160
|
+
[1m[35m (14.0ms)[0m TRUNCATE TABLE `request_environment_rules`;
|
13161
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
13162
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13163
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
13164
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:33', '/news/5', '/my_custom_url', 0, 0, '2012-08-27 19:14:33')
|
13165
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13166
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13167
|
+
[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-27 19:14:33', '/news/$1', '/my_custom_url/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:33')[0m
|
13168
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13169
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13170
|
+
[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-27 19:14:33', '/news', 'categoryID=12345', 0, 1, '2012-08-27 19:14:33')
|
13171
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13172
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13173
|
+
((source_is_regex = 0 AND redirect_rules.source = '/my_old_url') OR
|
13174
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC
|
13175
|
+
|
13176
|
+
|
13177
|
+
Started GET "/my_old_url?categoryID=12345" for 127.0.0.1 at 2012-08-27 13:14:33 -0600
|
13178
|
+
|
13179
|
+
ActionController::RoutingError (No route matches [GET] "/my_old_url"):
|
13180
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
13181
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
13182
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
13183
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
13184
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
13185
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
13186
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
13187
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
13188
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
13189
|
+
/Users/brianlandau/Projects/redirector/lib/redirector/middleware.rb:23:in `response'
|
13190
|
+
/Users/brianlandau/Projects/redirector/lib/redirector/middleware.rb:8:in `call'
|
13191
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
13192
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
13193
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
13194
|
+
rack (1.4.1) lib/rack/builder.rb:134:in `call'
|
13195
|
+
rack (1.4.1) lib/rack/urlmap.rb:64:in `block in call'
|
13196
|
+
rack (1.4.1) lib/rack/urlmap.rb:49:in `each'
|
13197
|
+
rack (1.4.1) lib/rack/urlmap.rb:49:in `call'
|
13198
|
+
rack-test (0.6.1) lib/rack/mock_session.rb:30:in `request'
|
13199
|
+
rack-test (0.6.1) lib/rack/test.rb:219:in `process_request'
|
13200
|
+
rack-test (0.6.1) lib/rack/test.rb:57:in `get'
|
13201
|
+
/Users/brianlandau/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/forwardable.rb:201:in `get'
|
13202
|
+
capybara (1.1.2) lib/capybara/rack_test/browser.rb:62:in `process'
|
13203
|
+
capybara (1.1.2) lib/capybara/rack_test/browser.rb:21:in `visit'
|
13204
|
+
capybara (1.1.2) lib/capybara/rack_test/driver.rb:32:in `visit'
|
13205
|
+
capybara (1.1.2) lib/capybara/session.rb:157:in `visit'
|
13206
|
+
capybara (1.1.2) lib/capybara/dsl.rb:161:in `visit'
|
13207
|
+
/Users/brianlandau/Projects/redirector/spec/requests/middleware_spec.rb:21:in `block (2 levels) in <top (required)>'
|
13208
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:113:in `instance_eval'
|
13209
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:113:in `block in run'
|
13210
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:253:in `with_around_each_hooks'
|
13211
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:110:in `run'
|
13212
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:378:in `block in run_examples'
|
13213
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:374:in `map'
|
13214
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:374:in `run_examples'
|
13215
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:360:in `run'
|
13216
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
|
13217
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `map'
|
13218
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `block in run'
|
13219
|
+
rspec-core (2.11.1) lib/rspec/core/reporter.rb:34:in `report'
|
13220
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:25:in `run'
|
13221
|
+
rspec-core (2.11.1) lib/rspec/core/runner.rb:69:in `run'
|
13222
|
+
rspec-core (2.11.1) lib/rspec/core/runner.rb:8:in `block in autorun'
|
13223
|
+
|
13224
|
+
|
13225
|
+
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
|
13226
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
13227
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
13228
|
+
[1m[35m (15.8ms)[0m TRUNCATE TABLE `redirect_rules`;
|
13229
|
+
[1m[36m (8.8ms)[0m [1mTRUNCATE TABLE `request_environment_rules`;[0m
|
13230
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
13231
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13232
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13233
|
+
[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-27 19:14:33', '/news/5', '/my_custom_url', 0, 0, '2012-08-27 19:14:33')[0m
|
13234
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
13235
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13236
|
+
[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-27 19:14:33', '/news/$1', '/my_custom_url/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:33')
|
13237
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13238
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
13239
|
+
[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-27 19:14:33', '/news', 'categoryID=12345', 0, 1, '2012-08-27 19:14:33')[0m
|
13240
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
13241
|
+
[1m[36mRedirectRule Load (0.6ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13242
|
+
((source_is_regex = 0 AND redirect_rules.source = '/my_old_url?categoryID=12345') OR
|
13243
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC[0m
|
13244
|
+
[1m[35mRequestEnvironmentRule Load (0.3ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 3
|
13245
|
+
[1m[36mRedirectRule Load (0.6ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13246
|
+
((source_is_regex = 0 AND redirect_rules.source = '/news') OR
|
13247
|
+
(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 DESC, LENGTH(redirect_rules.source) DESC[0m
|
13248
|
+
|
13249
|
+
|
13250
|
+
Started GET "/news" for 127.0.0.1 at 2012-08-27 13:14:33 -0600
|
13251
|
+
Processing by NewsController#index as HTML
|
13252
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
13253
|
+
[1m[35m (0.9ms)[0m ROLLBACK
|
13254
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
13255
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
13256
|
+
[1m[36m (1.6ms)[0m [1mTRUNCATE TABLE `redirect_rules`;[0m
|
13257
|
+
[1m[35m (15.5ms)[0m TRUNCATE TABLE `request_environment_rules`;
|
13258
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
13259
|
+
Connecting to database specified by database.yml
|
13260
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13261
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13262
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13263
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13264
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
13265
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13266
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13267
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13268
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13269
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
13270
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13271
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13272
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13273
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13274
|
+
[1m[36m (0.9ms)[0m [1mROLLBACK[0m
|
13275
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13276
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13277
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13278
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13279
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
13280
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13281
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13282
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13283
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13284
|
+
[1m[36m (1.0ms)[0m [1mROLLBACK[0m
|
13285
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13286
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13287
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13288
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13289
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13290
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13291
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13292
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13293
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13294
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
13295
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13296
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13297
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13298
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13299
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
13300
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13301
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13302
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13303
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13304
|
+
[1m[36m (6.6ms)[0m [1mROLLBACK[0m
|
13305
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13306
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13307
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13308
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13309
|
+
[1m[35m (4.8ms)[0m ROLLBACK
|
13310
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13311
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13312
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13313
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13314
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
13315
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13316
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13317
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13318
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13319
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13320
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13321
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13322
|
+
[1m[36mSQL (22.0ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13323
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13324
|
+
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
13325
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13326
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13327
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13328
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13329
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13330
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13331
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13332
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13333
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13334
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
13335
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13336
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13337
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13338
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13339
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13340
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13341
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13342
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13343
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13344
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
13345
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13346
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13347
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13348
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13349
|
+
[1m[35m (0.8ms)[0m ROLLBACK
|
13350
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13351
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13352
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13353
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13354
|
+
[1m[36mRedirectRule Load (0.7ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13355
|
+
((source_is_regex = 0 AND redirect_rules.source = '/someplace') OR
|
13356
|
+
(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
|
13357
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
13358
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13359
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13360
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13361
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13362
|
+
[1m[36mRedirectRule Load (0.8ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13363
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
13364
|
+
(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
|
13365
|
+
[1m[35mRequestEnvironmentRule Load (0.4ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 20
|
13366
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
13367
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13368
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13369
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13370
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13371
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13372
|
+
[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-27 19:14:53', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 1, 1, '2012-08-27 19:14:53')[0m
|
13373
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13374
|
+
[1m[36mRedirectRule Load (1.3ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13375
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_shiny/from_company') OR
|
13376
|
+
(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
|
13377
|
+
[1m[35mRequestEnvironmentRule Load (0.5ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 22
|
13378
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
13379
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13380
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13381
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13382
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13383
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13384
|
+
[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-27 19:14:53', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 1, 1, '2012-08-27 19:14:53')[0m
|
13385
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13386
|
+
[1m[36mRedirectRule Load (0.7ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13387
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_SHINY/from_company') OR
|
13388
|
+
(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
|
13389
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13390
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13391
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13392
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13393
|
+
[1m[35m (2.3ms)[0m RELEASE SAVEPOINT active_record_1
|
13394
|
+
[1m[36m (1.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
13395
|
+
[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-27 19:14:53', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:53')
|
13396
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13397
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13398
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_shiny/from_company') OR
|
13399
|
+
(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
|
13400
|
+
[1m[36mRequestEnvironmentRule Load (0.5ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 26[0m
|
13401
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
13402
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13403
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13404
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13405
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13406
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13407
|
+
[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-27 19:14:53', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:53')
|
13408
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13409
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13410
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_SHINY/from_company') OR
|
13411
|
+
(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
|
13412
|
+
[1m[36mRequestEnvironmentRule Load (0.4ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 28[0m
|
13413
|
+
[1m[35m (2.6ms)[0m ROLLBACK
|
13414
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13415
|
+
[1m[35m (1.0ms)[0m SAVEPOINT active_record_1
|
13416
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13417
|
+
[1m[35m (0.7ms)[0m RELEASE SAVEPOINT active_record_1
|
13418
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
13419
|
+
[1m[35mSQL (0.7ms)[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 29, '2012-08-27 19:14:53')
|
13420
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13421
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13422
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
13423
|
+
(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
|
13424
|
+
[1m[36mRequestEnvironmentRule Load (0.8ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 29[0m
|
13425
|
+
[1m[35m (0.8ms)[0m ROLLBACK
|
13426
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
13427
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13428
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13429
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13430
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13431
|
+
[1m[35mSQL (0.5ms)[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 30, '2012-08-27 19:14:53')
|
13432
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13433
|
+
[1m[35mRedirectRule Load (0.8ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13434
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
13435
|
+
(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
|
13436
|
+
[1m[36mRequestEnvironmentRule Load (0.5ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 30[0m
|
13437
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
13438
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13439
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13440
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13441
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13442
|
+
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
13443
|
+
[1m[35mSQL (0.5ms)[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 31, '2012-08-27 19:14:53')
|
13444
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13445
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13446
|
+
[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-27 19:14:53', 'QUERY_STRING', 'something=value', 1, 1, 31, '2012-08-27 19:14:53')[0m
|
13447
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13448
|
+
[1m[36mRedirectRule Load (0.7ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13449
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
13450
|
+
(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
|
13451
|
+
[1m[35mRequestEnvironmentRule Load (0.6ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 31
|
13452
|
+
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
13453
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13454
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13455
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13456
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13457
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13458
|
+
[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 32, '2012-08-27 19:14:53')[0m
|
13459
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13460
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13461
|
+
[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-27 19:14:53', 'QUERY_STRING', 'something=value', 1, 1, 32, '2012-08-27 19:14:53')
|
13462
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13463
|
+
[1m[35mRedirectRule Load (0.9ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13464
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
13465
|
+
(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
|
13466
|
+
[1m[36mRequestEnvironmentRule Load (0.8ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 32[0m
|
13467
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13468
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13469
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13470
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13471
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13472
|
+
[1m[36m (1.7ms)[0m [1mSAVEPOINT active_record_1[0m
|
13473
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13474
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13475
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13476
|
+
[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 33, '2012-08-27 19:14:53')[0m
|
13477
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13478
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13479
|
+
[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-27 19:14:53', 'QUERY_STRING', 'something=value', 1, 1, 33, '2012-08-27 19:14:53')
|
13480
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13481
|
+
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
13482
|
+
[1m[36mSQL (0.5ms)[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 34, '2012-08-27 19:14:53')[0m
|
13483
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13484
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13485
|
+
[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-27 19:14:53', 'QUERY_STRING', 'another=value', 1, 1, 34, '2012-08-27 19:14:53')
|
13486
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13487
|
+
[1m[35mRedirectRule Load (0.9ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13488
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
13489
|
+
(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
|
13490
|
+
[1m[36mRequestEnvironmentRule Load (0.6ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 33[0m
|
13491
|
+
[1m[35m (1.1ms)[0m ROLLBACK
|
13492
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13493
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13494
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13495
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
13496
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13497
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13498
|
+
[1m[36m (0.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13499
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
13500
|
+
[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 35, '2012-08-27 19:14:53')[0m
|
13501
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13502
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13503
|
+
[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-27 19:14:53', 'QUERY_STRING', 'something=value', 1, 1, 35, '2012-08-27 19:14:53')
|
13504
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13505
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13506
|
+
[1m[36mSQL (0.5ms)[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 36, '2012-08-27 19:14:53')[0m
|
13507
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13508
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
13509
|
+
[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-27 19:14:53', 'QUERY_STRING', 'another=value', 1, 1, 36, '2012-08-27 19:14:53')
|
13510
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13511
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13512
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
13513
|
+
(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
|
13514
|
+
[1m[36mRequestEnvironmentRule Load (0.3ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 35[0m
|
13515
|
+
[1m[35mRequestEnvironmentRule Load (0.5ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 36
|
13516
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
13517
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13518
|
+
[1m[36m (2.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13519
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13520
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13521
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13522
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13523
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13524
|
+
[1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
13525
|
+
[1m[35mSQL (0.5ms)[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 37, '2012-08-27 19:14:53')
|
13526
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13527
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13528
|
+
[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-27 19:14:53', 'QUERY_STRING', 'something=value', 1, 1, 37, '2012-08-27 19:14:53')[0m
|
13529
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13530
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13531
|
+
[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 38, '2012-08-27 19:14:53')
|
13532
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13533
|
+
[1m[35m (0.8ms)[0m SAVEPOINT active_record_1
|
13534
|
+
[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-27 19:14:53', 'QUERY_STRING', 'another=value', 1, 1, 38, '2012-08-27 19:14:53')[0m
|
13535
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13536
|
+
[1m[36mRedirectRule Load (0.7ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13537
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
13538
|
+
(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
|
13539
|
+
[1m[35mRequestEnvironmentRule Load (0.6ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 37
|
13540
|
+
[1m[36mRequestEnvironmentRule Load (0.7ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 38[0m
|
13541
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
13542
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
13543
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13544
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13545
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13546
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13547
|
+
[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-27 19:14:53', 'http://www.example.com/news/$1', '[A-Za-z0-9]_thingy', 0, 1, '2012-08-27 19:14:53')
|
13548
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13549
|
+
[1m[35mRedirectRule Load (0.8ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13550
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
13551
|
+
(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
|
13552
|
+
[1m[36mRequestEnvironmentRule Load (0.5ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 39[0m
|
13553
|
+
[1m[35m (0.9ms)[0m ROLLBACK
|
13554
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13555
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13556
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13557
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13558
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13559
|
+
[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-27 19:14:53', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:53')
|
13560
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13561
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13562
|
+
((source_is_regex = 0 AND redirect_rules.source = '/new_shiny/from_company') OR
|
13563
|
+
(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
|
13564
|
+
[1m[36mRequestEnvironmentRule Load (0.6ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 42[0m
|
13565
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
13566
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13567
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13568
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13569
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13570
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13571
|
+
[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-27 19:14:53', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:53')
|
13572
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13573
|
+
[1m[35mRedirectRule Load (0.9ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13574
|
+
((source_is_regex = 0 AND redirect_rules.source = '/catchy_thingy') OR
|
13575
|
+
(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
|
13576
|
+
[1m[36mRequestEnvironmentRule Load (0.5ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 43[0m
|
13577
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
13578
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13579
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13580
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13581
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13582
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13583
|
+
[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-27 19:14:53', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:53')
|
13584
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13585
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13586
|
+
((source_is_regex = 0 AND redirect_rules.source = '/someplace') OR
|
13587
|
+
(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
|
13588
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
13589
|
+
[1m[35m (0.2ms)[0m BEGIN
|
13590
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13591
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')
|
13592
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13593
|
+
[1m[35m (15.9ms)[0m ROLLBACK
|
13594
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13595
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13596
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13597
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13598
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13599
|
+
[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-27 19:14:53', 'http://www.example.com/news/$1', '[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:53')
|
13600
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13601
|
+
[1m[35m (2.0ms)[0m ROLLBACK
|
13602
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13603
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
13604
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13605
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13606
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13607
|
+
[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 50, '2012-08-27 19:14:53')
|
13608
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13609
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13610
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13611
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13612
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13613
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13614
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13615
|
+
[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 51, '2012-08-27 19:14:53')
|
13616
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13617
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
13618
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13619
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13620
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13621
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13622
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13623
|
+
[1m[35mSQL (0.5ms)[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 52, '2012-08-27 19:14:53')
|
13624
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13625
|
+
[1m[35m (2.0ms)[0m ROLLBACK
|
13626
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13627
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13628
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13629
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13630
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13631
|
+
[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 53, '2012-08-27 19:14:53')
|
13632
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13633
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13634
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
13635
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13636
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13637
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13638
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13639
|
+
[1m[35mSQL (0.5ms)[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 54, '2012-08-27 19:14:53')
|
13640
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13641
|
+
[1m[35m (0.8ms)[0m ROLLBACK
|
13642
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13643
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13644
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13645
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13646
|
+
[1m[36m (1.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13647
|
+
[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 55, '2012-08-27 19:14:53')
|
13648
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13649
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
13650
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13651
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13652
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13653
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
13654
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
13655
|
+
[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 56, '2012-08-27 19:14:53')
|
13656
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13657
|
+
[1m[35m (0.9ms)[0m ROLLBACK
|
13658
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13659
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13660
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13661
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13662
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13663
|
+
[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 57, '2012-08-27 19:14:53')
|
13664
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13665
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
13666
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13667
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13668
|
+
[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-27 19:14:53', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:53')[0m
|
13669
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13670
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13671
|
+
[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-27 19:14:53', 'SERVER_NAME', 'example.com', 1, 0, 58, '2012-08-27 19:14:53')
|
13672
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13673
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
13674
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
13675
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13676
|
+
[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-27 19:14:54', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:54')[0m
|
13677
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13678
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13679
|
+
[1m[35mSQL (0.5ms)[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-27 19:14:54', 'SERVER_NAME', 'example.com', 1, 0, 59, '2012-08-27 19:14:54')
|
13680
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13681
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13682
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13683
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13684
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:54', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:54')[0m
|
13685
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13686
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13687
|
+
[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-27 19:14:54', 'SERVER_NAME', 'example.com', 1, 0, 60, '2012-08-27 19:14:54')
|
13688
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13689
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13690
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13691
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13692
|
+
[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-27 19:14:54', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:54')[0m
|
13693
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13694
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13695
|
+
[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-27 19:14:54', 'SERVER_NAME', 'example.com', 1, 0, 61, '2012-08-27 19:14:54')
|
13696
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13697
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
13698
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13699
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13700
|
+
[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-27 19:14:54', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:54')[0m
|
13701
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13702
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13703
|
+
[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-27 19:14:54', 'SERVER_NAME', 'example.com', 1, 0, 62, '2012-08-27 19:14:54')
|
13704
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13705
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13706
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13707
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13708
|
+
[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-27 19:14:54', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:54')[0m
|
13709
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13710
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13711
|
+
[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-27 19:14:54', 'SERVER_NAME', 'example.com', 1, 0, 63, '2012-08-27 19:14:54')
|
13712
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13713
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
13714
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13715
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13716
|
+
[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-27 19:14:54', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:54')[0m
|
13717
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13718
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13719
|
+
[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-27 19:14:54', 'SERVER_NAME', 'example.com', 1, 0, 64, '2012-08-27 19:14:54')
|
13720
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13721
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
13722
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13723
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13724
|
+
[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-27 19:14:54', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:54')[0m
|
13725
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13726
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13727
|
+
[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-27 19:14:54', 'SERVER_NAME', 'example.com', 1, 0, 65, '2012-08-27 19:14:54')
|
13728
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13729
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
13730
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
13731
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13732
|
+
[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-27 19:14:54', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:54')[0m
|
13733
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13734
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13735
|
+
[1m[35mSQL (0.5ms)[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-27 19:14:54', 'SERVER_NAME', 'example.com', 1, 0, 66, '2012-08-27 19:14:54')
|
13736
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13737
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
13738
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13739
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13740
|
+
[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-27 19:14:54', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:54')[0m
|
13741
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13742
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
13743
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13744
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13745
|
+
[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-27 19:14:54', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:54')
|
13746
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13747
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13748
|
+
[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-27 19:14:54', 'SERVER_NAME', 'example.com', 1, 0, 68, '2012-08-27 19:14:54')[0m
|
13749
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13750
|
+
[1m[36m (1.2ms)[0m [1mROLLBACK[0m
|
13751
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13752
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13753
|
+
[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-27 19:14:54', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:54')
|
13754
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13755
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13756
|
+
[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-27 19:14:54', 'QUERY_STRING', 'something=value', 1, 1, 69, '2012-08-27 19:14:54')[0m
|
13757
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13758
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
13759
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13760
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13761
|
+
[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-27 19:14:54', 'http://www.example.com/products/1', '/catchy_thingy', 0, 0, '2012-08-27 19:14:54')
|
13762
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13763
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
13764
|
+
[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-27 19:14:54', 'QUERY_STRING', 'something=value', 0, 1, 70, '2012-08-27 19:14:54')[0m
|
13765
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13766
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
13767
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13768
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
13769
|
+
[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-27 19:14:54', '/news/5', '/my_custom_url', 0, 0, '2012-08-27 19:14:54')
|
13770
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13771
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13772
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:54', '/news/$1', '/my_custom_url/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:54')[0m
|
13773
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13774
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13775
|
+
[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-27 19:14:54', '/news', 'categoryID=12345', 0, 1, '2012-08-27 19:14:54')
|
13776
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13777
|
+
[1m[35mRedirectRule Load (0.8ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13778
|
+
((source_is_regex = 0 AND redirect_rules.source = '/my_custom_url') OR
|
13779
|
+
(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
|
13780
|
+
[1m[36mRequestEnvironmentRule Load (0.5ms)[0m [1mSELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 71[0m
|
13781
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13782
|
+
((source_is_regex = 0 AND redirect_rules.source = '/news/5') OR
|
13783
|
+
(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
|
13784
|
+
|
13785
|
+
|
13786
|
+
Started GET "/news/5" for 127.0.0.1 at 2012-08-27 13:14:54 -0600
|
13787
|
+
Processing by NewsController#show as HTML
|
13788
|
+
Parameters: {"id"=>"5"}
|
13789
|
+
Rendered text template (0.0ms)
|
13790
|
+
Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
|
13791
|
+
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
|
13792
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
13793
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
13794
|
+
[1m[35m (0.1ms)[0m SELECT DATABASE() as db
|
13795
|
+
[1m[36m (1.0ms)[0m [1mselect table_name from information_schema.views where table_schema = 'redirector_dummy_test'[0m
|
13796
|
+
[1m[35m (26.8ms)[0m TRUNCATE TABLE `redirect_rules`;
|
13797
|
+
[1m[36m (1.6ms)[0m [1mTRUNCATE TABLE `request_environment_rules`;[0m
|
13798
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
13799
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13800
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13801
|
+
[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-27 19:14:54', '/news/5', '/my_custom_url', 0, 0, '2012-08-27 19:14:54')[0m
|
13802
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13803
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13804
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:54', '/news/$1', '/my_custom_url/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:54')
|
13805
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13806
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13807
|
+
[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-27 19:14:54', '/news', 'categoryID=12345', 0, 1, '2012-08-27 19:14:54')[0m
|
13808
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13809
|
+
[1m[36mRedirectRule Load (0.6ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13810
|
+
((source_is_regex = 0 AND redirect_rules.source = '/my_custom_url/20') OR
|
13811
|
+
(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
|
13812
|
+
[1m[35mRequestEnvironmentRule Load (0.4ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 2
|
13813
|
+
[1m[36mRedirectRule Load (0.5ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13814
|
+
((source_is_regex = 0 AND redirect_rules.source = '/news/20') OR
|
13815
|
+
(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
|
13816
|
+
|
13817
|
+
|
13818
|
+
Started GET "/news/20" for 127.0.0.1 at 2012-08-27 13:14:54 -0600
|
13819
|
+
Processing by NewsController#show as HTML
|
13820
|
+
Parameters: {"id"=>"20"}
|
13821
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
13822
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
13823
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
13824
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
13825
|
+
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `redirect_rules`;[0m
|
13826
|
+
[1m[35m (1.9ms)[0m TRUNCATE TABLE `request_environment_rules`;
|
13827
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
13828
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13829
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13830
|
+
[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-27 19:14:54', '/news/5', '/my_custom_url', 0, 0, '2012-08-27 19:14:54')
|
13831
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13832
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13833
|
+
[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-27 19:14:54', '/news/$1', '/my_custom_url/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:54')[0m
|
13834
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13835
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13836
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `redirect_rules` (`active`, `created_at`, `destination`, `source`, `source_is_case_sensitive`, `source_is_regex`, `updated_at`) VALUES (1, '2012-08-27 19:14:54', '/news', 'categoryID=12345', 0, 1, '2012-08-27 19:14:54')
|
13837
|
+
[1m[36m (1.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13838
|
+
[1m[35mRedirectRule Load (0.8ms)[0m SELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13839
|
+
((source_is_regex = 0 AND redirect_rules.source = '/my_old_url') OR
|
13840
|
+
(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
|
13841
|
+
|
13842
|
+
|
13843
|
+
Started GET "/my_old_url?categoryID=12345" for 127.0.0.1 at 2012-08-27 13:14:54 -0600
|
13844
|
+
|
13845
|
+
ActionController::RoutingError (No route matches [GET] "/my_old_url"):
|
13846
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
13847
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
13848
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
13849
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
13850
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
13851
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
13852
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
13853
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
13854
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
13855
|
+
/Users/brianlandau/Projects/redirector/lib/redirector/middleware.rb:23:in `response'
|
13856
|
+
/Users/brianlandau/Projects/redirector/lib/redirector/middleware.rb:8:in `call'
|
13857
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
13858
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
13859
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
13860
|
+
rack (1.4.1) lib/rack/builder.rb:134:in `call'
|
13861
|
+
rack (1.4.1) lib/rack/urlmap.rb:64:in `block in call'
|
13862
|
+
rack (1.4.1) lib/rack/urlmap.rb:49:in `each'
|
13863
|
+
rack (1.4.1) lib/rack/urlmap.rb:49:in `call'
|
13864
|
+
rack-test (0.6.1) lib/rack/mock_session.rb:30:in `request'
|
13865
|
+
rack-test (0.6.1) lib/rack/test.rb:219:in `process_request'
|
13866
|
+
rack-test (0.6.1) lib/rack/test.rb:57:in `get'
|
13867
|
+
/Users/brianlandau/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/forwardable.rb:201:in `get'
|
13868
|
+
capybara (1.1.2) lib/capybara/rack_test/browser.rb:62:in `process'
|
13869
|
+
capybara (1.1.2) lib/capybara/rack_test/browser.rb:21:in `visit'
|
13870
|
+
capybara (1.1.2) lib/capybara/rack_test/driver.rb:32:in `visit'
|
13871
|
+
capybara (1.1.2) lib/capybara/session.rb:157:in `visit'
|
13872
|
+
capybara (1.1.2) lib/capybara/dsl.rb:161:in `visit'
|
13873
|
+
/Users/brianlandau/Projects/redirector/spec/requests/middleware_spec.rb:21:in `block (2 levels) in <top (required)>'
|
13874
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:113:in `instance_eval'
|
13875
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:113:in `block in run'
|
13876
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:253:in `with_around_each_hooks'
|
13877
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:110:in `run'
|
13878
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:378:in `block in run_examples'
|
13879
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:374:in `map'
|
13880
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:374:in `run_examples'
|
13881
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:360:in `run'
|
13882
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
|
13883
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `map'
|
13884
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `block in run'
|
13885
|
+
rspec-core (2.11.1) lib/rspec/core/reporter.rb:34:in `report'
|
13886
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:25:in `run'
|
13887
|
+
rspec-core (2.11.1) lib/rspec/core/runner.rb:69:in `run'
|
13888
|
+
rspec-core (2.11.1) lib/rspec/core/runner.rb:8:in `block in autorun'
|
13889
|
+
|
13890
|
+
|
13891
|
+
[1m[36m (1.1ms)[0m [1mROLLBACK[0m
|
13892
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
13893
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
13894
|
+
[1m[35m (1.5ms)[0m TRUNCATE TABLE `redirect_rules`;
|
13895
|
+
[1m[36m (19.8ms)[0m [1mTRUNCATE TABLE `request_environment_rules`;[0m
|
13896
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
13897
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
13898
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13899
|
+
[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-27 19:14:54', '/news/5', '/my_custom_url', 0, 0, '2012-08-27 19:14:54')[0m
|
13900
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13901
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13902
|
+
[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-27 19:14:54', '/news/$1', '/my_custom_url/([A-Za-z0-9_]+)', 0, 1, '2012-08-27 19:14:54')
|
13903
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13904
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13905
|
+
[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-27 19:14:54', '/news', 'categoryID=12345', 0, 1, '2012-08-27 19:14:54')[0m
|
13906
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13907
|
+
[1m[36mRedirectRule Load (0.6ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13908
|
+
((source_is_regex = 0 AND redirect_rules.source = '/my_old_url?categoryID=12345') OR
|
13909
|
+
(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
|
13910
|
+
[1m[35mRequestEnvironmentRule Load (0.4ms)[0m SELECT `request_environment_rules`.* FROM `request_environment_rules` WHERE `request_environment_rules`.`redirect_rule_id` = 3
|
13911
|
+
[1m[36mRedirectRule Load (0.7ms)[0m [1mSELECT `redirect_rules`.* FROM `redirect_rules` WHERE (redirect_rules.active = 1 AND
|
13912
|
+
((source_is_regex = 0 AND redirect_rules.source = '/news') OR
|
13913
|
+
(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
|
13914
|
+
|
13915
|
+
|
13916
|
+
Started GET "/news" for 127.0.0.1 at 2012-08-27 13:14:54 -0600
|
13917
|
+
Processing by NewsController#index as HTML
|
13918
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
13919
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
13920
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
13921
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
13922
|
+
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `redirect_rules`;[0m
|
13923
|
+
[1m[35m (1.1ms)[0m TRUNCATE TABLE `request_environment_rules`;
|
13924
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
13925
|
+
Connecting to database specified by database.yml
|
13926
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
13927
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
13928
|
+
[1m[36mSQL (113.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:04 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:04 UTC +00:00]]
|
13929
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13930
|
+
[1m[36m (25.3ms)[0m [1mROLLBACK[0m
|
13931
|
+
[1m[35m (0.2ms)[0m BEGIN
|
13932
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13933
|
+
[1m[35mSQL (12.6ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:04 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:04 UTC +00:00]]
|
13934
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13935
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
13936
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13937
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13938
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:04 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:04 UTC +00:00]]
|
13939
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
13940
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
13941
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13942
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13943
|
+
[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, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:04 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:04 UTC +00:00]]
|
13944
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13945
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
13946
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13947
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13948
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:04 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:04 UTC +00:00]]
|
13949
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
13950
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
13951
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13952
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13953
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:04 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:04 UTC +00:00]]
|
13954
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13955
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
13956
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13957
|
+
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
13958
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
13959
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13960
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
13961
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13962
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13963
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
13964
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13965
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
13966
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13967
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13968
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
13969
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
13970
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
13971
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13972
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
13973
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
13974
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13975
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
13976
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
13977
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
13978
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
13979
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13980
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
13981
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13982
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13983
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
13984
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13985
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
13986
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13987
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13988
|
+
[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, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
13989
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
13990
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
13991
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13992
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13993
|
+
[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, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
13994
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13995
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
13996
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
13997
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13998
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
13999
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14000
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
14001
|
+
[1m[35m (0.0ms)[0m BEGIN
|
14002
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14003
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14004
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14005
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14006
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14007
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14008
|
+
[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, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14009
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14010
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
14011
|
+
[1m[35m (0.2ms)[0m BEGIN
|
14012
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14013
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14014
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14015
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
14016
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
14017
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14018
|
+
[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, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14019
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14020
|
+
[1m[36mRedirectRule Load (139.5ms)[0m [1mSELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14021
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/someplace') OR
|
14022
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/someplace' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/someplace' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14023
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14024
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14025
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14026
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14027
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14028
|
+
[1m[36mRedirectRule Load (0.8ms)[0m [1mSELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14029
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/catchy_thingy') OR
|
14030
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/catchy_thingy' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/catchy_thingy' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14031
|
+
[1m[35mRequestEnvironmentRule Load (21.9ms)[0m SELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 20
|
14032
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
14033
|
+
[1m[35m (0.0ms)[0m BEGIN
|
14034
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14035
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14036
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14037
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
14038
|
+
[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, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/news/$1"], ["source", "[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)"], ["source_is_case_sensitive", true], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14039
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14040
|
+
[1m[36mRedirectRule Load (35.1ms)[0m [1mSELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14041
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/new_shiny/from_company') OR
|
14042
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/new_shiny/from_company' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/new_shiny/from_company' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14043
|
+
[1m[35mRequestEnvironmentRule Load (0.5ms)[0m SELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 22
|
14044
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
14045
|
+
[1m[35m (0.0ms)[0m BEGIN
|
14046
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14047
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14048
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14049
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14050
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/news/$1"], ["source", "[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)"], ["source_is_case_sensitive", true], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14051
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
14052
|
+
[1m[36mRedirectRule Load (0.5ms)[0m [1mSELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14053
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/new_SHINY/from_company') OR
|
14054
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/new_SHINY/from_company' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/new_SHINY/from_company' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14055
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14056
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14057
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14058
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14059
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14060
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
14061
|
+
[1m[35mSQL (13.0ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/news/$1"], ["source", "[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14062
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14063
|
+
[1m[35mRedirectRule Load (0.8ms)[0m SELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14064
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/new_shiny/from_company') OR
|
14065
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/new_shiny/from_company' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/new_shiny/from_company' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14066
|
+
[1m[36mRequestEnvironmentRule Load (0.5ms)[0m [1mSELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 26[0m
|
14067
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14068
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14069
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14070
|
+
[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, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14071
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14072
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14073
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/news/$1"], ["source", "[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14074
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14075
|
+
[1m[35mRedirectRule Load (0.5ms)[0m SELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14076
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/new_SHINY/from_company') OR
|
14077
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/new_SHINY/from_company' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/new_SHINY/from_company' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14078
|
+
[1m[36mRequestEnvironmentRule Load (0.4ms)[0m [1mSELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 28[0m
|
14079
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14080
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
14081
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14082
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14083
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14084
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14085
|
+
[1m[35mSQL (8.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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 29], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14086
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14087
|
+
[1m[35mRedirectRule Load (0.7ms)[0m SELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14088
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/catchy_thingy') OR
|
14089
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/catchy_thingy' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/catchy_thingy' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14090
|
+
[1m[36mRequestEnvironmentRule Load (0.6ms)[0m [1mSELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 29[0m
|
14091
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
14092
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14093
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14094
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14095
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14096
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14097
|
+
[1m[35mSQL (0.6ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 30], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14098
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14099
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14100
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/catchy_thingy') OR
|
14101
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/catchy_thingy' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/catchy_thingy' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14102
|
+
[1m[36mRequestEnvironmentRule Load (0.6ms)[0m [1mSELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 30[0m
|
14103
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14104
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
14105
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14106
|
+
[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, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14107
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14108
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14109
|
+
[1m[35mSQL (0.5ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 31], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14110
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14111
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14112
|
+
[1m[36mSQL (0.5ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "QUERY_STRING"], ["environment_value", "something=value"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", true], ["redirect_rule_id", 31], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14113
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14114
|
+
[1m[36mRedirectRule Load (0.6ms)[0m [1mSELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14115
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/catchy_thingy') OR
|
14116
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/catchy_thingy' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/catchy_thingy' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14117
|
+
[1m[35mRequestEnvironmentRule Load (0.4ms)[0m SELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 31
|
14118
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
14119
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14120
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14121
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14122
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14123
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14124
|
+
[1m[36mSQL (0.6ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 32], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14125
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
14126
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14127
|
+
[1m[35mSQL (0.7ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "QUERY_STRING"], ["environment_value", "something=value"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", true], ["redirect_rule_id", 32], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14128
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14129
|
+
[1m[35mRedirectRule Load (0.5ms)[0m SELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14130
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/catchy_thingy') OR
|
14131
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/catchy_thingy' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/catchy_thingy' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14132
|
+
[1m[36mRequestEnvironmentRule Load (0.3ms)[0m [1mSELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 32[0m
|
14133
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14134
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14135
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14136
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14137
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14138
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14139
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14140
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14141
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
14142
|
+
[1m[36mSQL (0.6ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 33], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14143
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14144
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14145
|
+
[1m[35mSQL (0.5ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "QUERY_STRING"], ["environment_value", "something=value"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", true], ["redirect_rule_id", 33], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14146
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14147
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14148
|
+
[1m[36mSQL (0.5ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 34], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14149
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14150
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14151
|
+
[1m[35mSQL (0.5ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "QUERY_STRING"], ["environment_value", "another=value"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", true], ["redirect_rule_id", 34], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14152
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14153
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14154
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/catchy_thingy') OR
|
14155
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/catchy_thingy' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/catchy_thingy' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14156
|
+
[1m[36mRequestEnvironmentRule Load (0.3ms)[0m [1mSELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 33[0m
|
14157
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14158
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14159
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14160
|
+
[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, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14161
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14162
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
14163
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14164
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14165
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14166
|
+
[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 35], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14167
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14168
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14169
|
+
[1m[35mSQL (0.6ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "QUERY_STRING"], ["environment_value", "something=value"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", true], ["redirect_rule_id", 35], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14170
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14171
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14172
|
+
[1m[36mSQL (0.6ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 36], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14173
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14174
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14175
|
+
[1m[35mSQL (0.6ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "QUERY_STRING"], ["environment_value", "another=value"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", true], ["redirect_rule_id", 36], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14176
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14177
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14178
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/catchy_thingy') OR
|
14179
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/catchy_thingy' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/catchy_thingy' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14180
|
+
[1m[36mRequestEnvironmentRule Load (0.3ms)[0m [1mSELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 35[0m
|
14181
|
+
[1m[35mRequestEnvironmentRule Load (0.4ms)[0m SELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 36
|
14182
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
14183
|
+
[1m[35m (0.2ms)[0m BEGIN
|
14184
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14185
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14186
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14187
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14188
|
+
[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, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14189
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14190
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14191
|
+
[1m[35mSQL (0.6ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 37], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14192
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14193
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14194
|
+
[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "QUERY_STRING"], ["environment_value", "something=value"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", true], ["redirect_rule_id", 37], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14195
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14196
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14197
|
+
[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 38], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14198
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14199
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14200
|
+
[1m[36mSQL (0.5ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "QUERY_STRING"], ["environment_value", "another=value"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", true], ["redirect_rule_id", 38], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14201
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14202
|
+
[1m[36mRedirectRule Load (0.6ms)[0m [1mSELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14203
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/catchy_thingy') OR
|
14204
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/catchy_thingy' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/catchy_thingy' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14205
|
+
[1m[35mRequestEnvironmentRule Load (0.3ms)[0m SELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 37
|
14206
|
+
[1m[36mRequestEnvironmentRule Load (0.2ms)[0m [1mSELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 38[0m
|
14207
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14208
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14209
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14210
|
+
[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, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14211
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14212
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14213
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/news/$1"], ["source", "[A-Za-z0-9]_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14214
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14215
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14216
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/catchy_thingy') OR
|
14217
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/catchy_thingy' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/catchy_thingy' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14218
|
+
[1m[36mRequestEnvironmentRule Load (0.4ms)[0m [1mSELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 39[0m
|
14219
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14220
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14221
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14222
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14223
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14224
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14225
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/news/$1"], ["source", "[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14226
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14227
|
+
[1m[35mRedirectRule Load (0.5ms)[0m SELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14228
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/new_shiny/from_company') OR
|
14229
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/new_shiny/from_company' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/new_shiny/from_company' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14230
|
+
[1m[36mRequestEnvironmentRule Load (0.4ms)[0m [1mSELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 42[0m
|
14231
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14232
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14233
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14234
|
+
[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, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14235
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14236
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14237
|
+
[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, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/news/$1"], ["source", "[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14238
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14239
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14240
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/catchy_thingy') OR
|
14241
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/catchy_thingy' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/catchy_thingy' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14242
|
+
[1m[36mRequestEnvironmentRule Load (0.6ms)[0m [1mSELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 43[0m
|
14243
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14244
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14245
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14246
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14247
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14248
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14249
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/news/$1"], ["source", "[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14250
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14251
|
+
[1m[35mRedirectRule Load (0.6ms)[0m SELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14252
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/someplace') OR
|
14253
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/someplace' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/someplace' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14254
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
14255
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14256
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14257
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14258
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14259
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14260
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14261
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14262
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14263
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14264
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14265
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/news/$1"], ["source", "[A-Za-z0-9_]+shiny\\/([A-Za-z0-9_]+)"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14266
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14267
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14268
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14269
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14270
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14271
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14272
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14273
|
+
[1m[35mSQL (0.5ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 50], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14274
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14275
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14276
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14277
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14278
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14279
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14280
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14281
|
+
[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 51], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14282
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14283
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14284
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14285
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14286
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14287
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14288
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14289
|
+
[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 52], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14290
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14291
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14292
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14293
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14294
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14295
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14296
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14297
|
+
[1m[35mSQL (0.5ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 53], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14298
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14299
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14300
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
14301
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14302
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14303
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14304
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14305
|
+
[1m[35mSQL (0.5ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 54], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14306
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14307
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14308
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14309
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14310
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14311
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14312
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14313
|
+
[1m[35mSQL (0.7ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 55], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14314
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14315
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14316
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
14317
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14318
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14319
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14320
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14321
|
+
[1m[35mSQL (0.6ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 56], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14322
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14323
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14324
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14325
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14326
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14327
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14328
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14329
|
+
[1m[35mSQL (0.7ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 57], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14330
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14331
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14332
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14333
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14334
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14335
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14336
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14337
|
+
[1m[35mSQL (0.7ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 58], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14338
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14339
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14340
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14341
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14342
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14343
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14344
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14345
|
+
[1m[35mSQL (0.5ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 59], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14346
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14347
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14348
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14349
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14350
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14351
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14352
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14353
|
+
[1m[35mSQL (0.5ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 60], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14354
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14355
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14356
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14357
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14358
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14359
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14360
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14361
|
+
[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 61], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14362
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14363
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14364
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14365
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14366
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14367
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
14368
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14369
|
+
[1m[35mSQL (0.6ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 62], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14370
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14371
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
14372
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14373
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14374
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14375
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14376
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14377
|
+
[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 63], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14378
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14379
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14380
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14381
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14382
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14383
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
14384
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14385
|
+
[1m[35mSQL (0.6ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 64], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14386
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14387
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14388
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14389
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14390
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14391
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
14392
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14393
|
+
[1m[35mSQL (0.6ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 65], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14394
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14395
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
14396
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14397
|
+
[1m[35m (2.0ms)[0m SAVEPOINT active_record_1
|
14398
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14399
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
14400
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14401
|
+
[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 66], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14402
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14403
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
14404
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14405
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
14406
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14407
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14408
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
14409
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14410
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14411
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14412
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14413
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
14414
|
+
[1m[36mSQL (0.5ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "SERVER_NAME"], ["environment_value", "example.com"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", false], ["redirect_rule_id", 68], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14415
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14416
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
14417
|
+
[1m[35m (0.2ms)[0m BEGIN
|
14418
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14419
|
+
[1m[35mSQL (1.6ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14420
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14421
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14422
|
+
[1m[36mSQL (0.5ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "QUERY_STRING"], ["environment_value", "something=value"], ["environment_value_is_case_sensitive", true], ["environment_value_is_regex", true], ["redirect_rule_id", 69], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14423
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14424
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
14425
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14426
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14427
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "http://www.example.com/products/1"], ["source", "/catchy_thingy"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14428
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14429
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14430
|
+
[1m[36mSQL (0.5ms)[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 ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["environment_key_name", "QUERY_STRING"], ["environment_value", "something=value"], ["environment_value_is_case_sensitive", false], ["environment_value_is_regex", true], ["redirect_rule_id", 70], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14431
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14432
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
14433
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14434
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14435
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "/news/5"], ["source", "/my_custom_url"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14436
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14437
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
14438
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "/news/$1"], ["source", "/my_custom_url/([A-Za-z0-9_]+)"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14439
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14440
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
14441
|
+
[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, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00], ["destination", "/news"], ["source", "categoryID=12345"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:05 UTC +00:00]]
|
14442
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14443
|
+
[1m[35mRedirectRule Load (0.9ms)[0m SELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14444
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/my_custom_url') OR
|
14445
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/my_custom_url' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/my_custom_url' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14446
|
+
[1m[36mRequestEnvironmentRule Load (0.6ms)[0m [1mSELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 71[0m
|
14447
|
+
[1m[35mRedirectRule Load (1.5ms)[0m SELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14448
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/news/5') OR
|
14449
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/news/5' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/news/5' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14450
|
+
|
14451
|
+
|
14452
|
+
Started GET "/news/5" for 127.0.0.1 at 2012-08-27 13:16:05 -0600
|
14453
|
+
Processing by NewsController#show as HTML
|
14454
|
+
Parameters: {"id"=>"5"}
|
14455
|
+
Rendered text template (0.0ms)
|
14456
|
+
Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms)
|
14457
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
14458
|
+
[1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "redirect_rules" DISABLE TRIGGER ALL;ALTER TABLE "request_environment_rules" DISABLE TRIGGER ALL
|
14459
|
+
[1m[36m (7.1ms)[0m [1mselect current_database()[0m
|
14460
|
+
[1m[35m (32.5ms)[0m select table_name from information_schema.views where table_schema = 'redirector_dummy_test'
|
14461
|
+
[1m[36m (80.4ms)[0m [1mTRUNCATE TABLE "redirect_rules", "request_environment_rules" RESTART IDENTITY CASCADE;[0m
|
14462
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "redirect_rules" ENABLE TRIGGER ALL;ALTER TABLE "request_environment_rules" ENABLE TRIGGER ALL
|
14463
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
14464
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14465
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00], ["destination", "/news/5"], ["source", "/my_custom_url"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00]]
|
14466
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14467
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14468
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00], ["destination", "/news/$1"], ["source", "/my_custom_url/([A-Za-z0-9_]+)"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00]]
|
14469
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14470
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
14471
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00], ["destination", "/news"], ["source", "categoryID=12345"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00]]
|
14472
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14473
|
+
[1m[36mRedirectRule Load (1.2ms)[0m [1mSELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14474
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/my_custom_url/20') OR
|
14475
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/my_custom_url/20' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/my_custom_url/20' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14476
|
+
[1m[35mRequestEnvironmentRule Load (0.9ms)[0m SELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 2
|
14477
|
+
[1m[36mRedirectRule Load (0.6ms)[0m [1mSELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14478
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/news/20') OR
|
14479
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/news/20' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/news/20' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14480
|
+
|
14481
|
+
|
14482
|
+
Started GET "/news/20" for 127.0.0.1 at 2012-08-27 13:16:06 -0600
|
14483
|
+
Processing by NewsController#show as HTML
|
14484
|
+
Parameters: {"id"=>"20"}
|
14485
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
14486
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
14487
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "redirect_rules" DISABLE TRIGGER ALL;ALTER TABLE "request_environment_rules" DISABLE TRIGGER ALL[0m
|
14488
|
+
[1m[35m (31.4ms)[0m TRUNCATE TABLE "redirect_rules", "request_environment_rules" RESTART IDENTITY CASCADE;
|
14489
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "redirect_rules" ENABLE TRIGGER ALL;ALTER TABLE "request_environment_rules" ENABLE TRIGGER ALL[0m
|
14490
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14491
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14492
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00], ["destination", "/news/5"], ["source", "/my_custom_url"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00]]
|
14493
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14494
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14495
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00], ["destination", "/news/$1"], ["source", "/my_custom_url/([A-Za-z0-9_]+)"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00]]
|
14496
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14497
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14498
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00], ["destination", "/news"], ["source", "categoryID=12345"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00]]
|
14499
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14500
|
+
[1m[35mRedirectRule Load (0.8ms)[0m SELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14501
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/my_old_url') OR
|
14502
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/my_old_url' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/my_old_url' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC
|
14503
|
+
|
14504
|
+
|
14505
|
+
Started GET "/my_old_url?categoryID=12345" for 127.0.0.1 at 2012-08-27 13:16:06 -0600
|
14506
|
+
|
14507
|
+
ActionController::RoutingError (No route matches [GET] "/my_old_url"):
|
14508
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
14509
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
14510
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
14511
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
14512
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
14513
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
14514
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
14515
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
14516
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
14517
|
+
/Users/brianlandau/Projects/redirector/lib/redirector/middleware.rb:23:in `response'
|
14518
|
+
/Users/brianlandau/Projects/redirector/lib/redirector/middleware.rb:8:in `call'
|
14519
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
14520
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
14521
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
14522
|
+
rack (1.4.1) lib/rack/builder.rb:134:in `call'
|
14523
|
+
rack (1.4.1) lib/rack/urlmap.rb:64:in `block in call'
|
14524
|
+
rack (1.4.1) lib/rack/urlmap.rb:49:in `each'
|
14525
|
+
rack (1.4.1) lib/rack/urlmap.rb:49:in `call'
|
14526
|
+
rack-test (0.6.1) lib/rack/mock_session.rb:30:in `request'
|
14527
|
+
rack-test (0.6.1) lib/rack/test.rb:219:in `process_request'
|
14528
|
+
rack-test (0.6.1) lib/rack/test.rb:57:in `get'
|
14529
|
+
/Users/brianlandau/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/forwardable.rb:201:in `get'
|
14530
|
+
capybara (1.1.2) lib/capybara/rack_test/browser.rb:62:in `process'
|
14531
|
+
capybara (1.1.2) lib/capybara/rack_test/browser.rb:21:in `visit'
|
14532
|
+
capybara (1.1.2) lib/capybara/rack_test/driver.rb:32:in `visit'
|
14533
|
+
capybara (1.1.2) lib/capybara/session.rb:157:in `visit'
|
14534
|
+
capybara (1.1.2) lib/capybara/dsl.rb:161:in `visit'
|
14535
|
+
/Users/brianlandau/Projects/redirector/spec/requests/middleware_spec.rb:21:in `block (2 levels) in <top (required)>'
|
14536
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:113:in `instance_eval'
|
14537
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:113:in `block in run'
|
14538
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:253:in `with_around_each_hooks'
|
14539
|
+
rspec-core (2.11.1) lib/rspec/core/example.rb:110:in `run'
|
14540
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:378:in `block in run_examples'
|
14541
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:374:in `map'
|
14542
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:374:in `run_examples'
|
14543
|
+
rspec-core (2.11.1) lib/rspec/core/example_group.rb:360:in `run'
|
14544
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
|
14545
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `map'
|
14546
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:28:in `block in run'
|
14547
|
+
rspec-core (2.11.1) lib/rspec/core/reporter.rb:34:in `report'
|
14548
|
+
rspec-core (2.11.1) lib/rspec/core/command_line.rb:25:in `run'
|
14549
|
+
rspec-core (2.11.1) lib/rspec/core/runner.rb:69:in `run'
|
14550
|
+
rspec-core (2.11.1) lib/rspec/core/runner.rb:8:in `block in autorun'
|
14551
|
+
|
14552
|
+
|
14553
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
14554
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "redirect_rules" DISABLE TRIGGER ALL;ALTER TABLE "request_environment_rules" DISABLE TRIGGER ALL
|
14555
|
+
[1m[36m (9.5ms)[0m [1mTRUNCATE TABLE "redirect_rules", "request_environment_rules" RESTART IDENTITY CASCADE;[0m
|
14556
|
+
[1m[35m (0.7ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "request_environment_rules" ENABLE TRIGGER ALL;ALTER TABLE "redirect_rules" ENABLE TRIGGER ALL
|
14557
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
14558
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14559
|
+
[1m[36mSQL (1.8ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00], ["destination", "/news/5"], ["source", "/my_custom_url"], ["source_is_case_sensitive", false], ["source_is_regex", false], ["updated_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00]]
|
14560
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14561
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
14562
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00], ["destination", "/news/$1"], ["source", "/my_custom_url/([A-Za-z0-9_]+)"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00]]
|
14563
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
14564
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
14565
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "redirect_rules" ("active", "created_at", "destination", "source", "source_is_case_sensitive", "source_is_regex", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["active", true], ["created_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00], ["destination", "/news"], ["source", "categoryID=12345"], ["source_is_case_sensitive", false], ["source_is_regex", true], ["updated_at", Mon, 27 Aug 2012 19:16:06 UTC +00:00]]
|
14566
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
14567
|
+
[1m[36mRedirectRule Load (1.0ms)[0m [1mSELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14568
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/my_old_url?categoryID=12345') OR
|
14569
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/my_old_url?categoryID=12345' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/my_old_url?categoryID=12345' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14570
|
+
[1m[35mRequestEnvironmentRule Load (0.7ms)[0m SELECT "request_environment_rules".* FROM "request_environment_rules" WHERE "request_environment_rules"."redirect_rule_id" = 3
|
14571
|
+
[1m[36mRedirectRule Load (0.6ms)[0m [1mSELECT "redirect_rules".* FROM "redirect_rules" WHERE (redirect_rules.active = 't' AND
|
14572
|
+
((source_is_regex = 'f' AND redirect_rules.source = '/news') OR
|
14573
|
+
(source_is_regex = 't' AND ((redirect_rules.source_is_case_sensitive = 't' AND '/news' ~ redirect_rules.source) OR (redirect_rules.source_is_case_sensitive = 'f' AND '/news' ~* redirect_rules.source))))) ORDER BY redirect_rules.source_is_regex ASC, LENGTH(redirect_rules.source) DESC[0m
|
14574
|
+
|
14575
|
+
|
14576
|
+
Started GET "/news" for 127.0.0.1 at 2012-08-27 13:16:06 -0600
|
14577
|
+
Processing by NewsController#index as HTML
|
14578
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
14579
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
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
|
+
[1m[35m (8.2ms)[0m TRUNCATE TABLE "request_environment_rules", "redirect_rules" RESTART IDENTITY CASCADE;
|
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
|