green_flag 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/app/assets/javascripts/green_flag/admin/features.js +1 -1
- data/lib/green_flag/version.rb +1 -1
- data/spec/dummy/log/development.log +706 -0
- data/spec/dummy/log/test.log +722 -0
- data/spec/dummy/tmp/cache/assets/CE7/FF0/sprockets%2Fe45f3a7675a8c5a5b064117792bf5e28 +0 -0
- data/spec/dummy/tmp/cache/assets/D13/270/sprockets%2F701a30cd450ae3cfa114092bafc16004 +0 -0
- data/spec/dummy/tmp/cache/assets/DA9/2C0/sprockets%2Ff95d82b2bbb6db8ffe1a87f67b415291 +0 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- metadata +4 -2
data/spec/dummy/log/test.log
CHANGED
@@ -34576,3 +34576,725 @@ Completed 200 OK in 6.3ms (Views: 0.2ms | ActiveRecord: 2.5ms)
|
|
34576
34576
|
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34577
34577
|
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_rules"
|
34578
34578
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34579
|
+
Connecting to database specified by database.yml
|
34580
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
34581
|
+
Started GET "/feature_checks" for 127.0.0.1 at 2015-08-06 20:29:29 -0400
|
34582
|
+
Processing by FeatureChecksController#index as HTML
|
34583
|
+
[1m[35mGreenFlag::SiteVisitor Load (1.0ms)[0m SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = 'c452796e-e3b4-4209-b006-4e65dc05952f' LIMIT 1
|
34584
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
34585
|
+
[1m[35mSQL (33.0ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", nil], ["visitor_code", "c452796e-e3b4-4209-b006-4e65dc05952f"]]
|
34586
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34587
|
+
[1m[35mGreenFlag::Feature Load (0.5ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature' LIMIT 1
|
34588
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
34589
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "test_feature"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34590
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34591
|
+
[1m[35mGreenFlag::FeatureDecision Load (0.7ms)[0m SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."site_visitor_id" = 1 LIMIT 1
|
34592
|
+
[1m[36mGreenFlag::Rule Load (0.9ms)[0m [1mSELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 1 AND (version_number = 1) ORDER BY order_by[0m
|
34593
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34594
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", nil], ["feature_id", 1], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 1], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34595
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34596
|
+
Rendered text template (0.0ms)
|
34597
|
+
Completed 200 OK in 78.0ms (Views: 3.6ms | ActiveRecord: 43.5ms)
|
34598
|
+
[1m[36mGreenFlag::FeatureDecision Load (1.1ms)[0m [1mSELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" ORDER BY created_at DESC LIMIT 1[0m
|
34599
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34600
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "green_flag_feature_decisions" SET "enabled" = 't', "updated_at" = '2015-08-07 00:29:29.162099' WHERE "green_flag_feature_decisions"."id" = 1[0m
|
34601
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34602
|
+
Started GET "/feature_checks" for 127.0.0.1 at 2015-08-06 20:29:29 -0400
|
34603
|
+
Processing by FeatureChecksController#index as HTML
|
34604
|
+
[1m[36mGreenFlag::SiteVisitor Load (0.4ms)[0m [1mSELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = 'c452796e-e3b4-4209-b006-4e65dc05952f' LIMIT 1[0m
|
34605
|
+
[1m[35mGreenFlag::Feature Load (0.3ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature' LIMIT 1
|
34606
|
+
[1m[36mGreenFlag::FeatureDecision Load (0.4ms)[0m [1mSELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."site_visitor_id" = 1 LIMIT 1[0m
|
34607
|
+
Rendered text template (0.0ms)
|
34608
|
+
Completed 200 OK in 3.3ms (Views: 0.3ms | ActiveRecord: 1.1ms)
|
34609
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
34610
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34611
|
+
Started GET "/feature_checks" for 127.0.0.1 at 2015-08-06 20:29:29 -0400
|
34612
|
+
Processing by FeatureChecksController#index as HTML
|
34613
|
+
[1m[35mGreenFlag::SiteVisitor Load (0.4ms)[0m SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = 'a06ac6a0-e869-494b-baa1-8c0d50a56587' LIMIT 1
|
34614
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34615
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", nil], ["visitor_code", "a06ac6a0-e869-494b-baa1-8c0d50a56587"]]
|
34616
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34617
|
+
[1m[35mGreenFlag::Feature Load (0.4ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature' LIMIT 1
|
34618
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34619
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "test_feature"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34620
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34621
|
+
[1m[35mGreenFlag::FeatureDecision Load (0.4ms)[0m SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."site_visitor_id" = 2 LIMIT 1
|
34622
|
+
[1m[36mGreenFlag::Rule Load (0.4ms)[0m [1mSELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 2 AND (version_number = 1) ORDER BY order_by[0m
|
34623
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34624
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", nil], ["feature_id", 2], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 2], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34625
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34626
|
+
Rendered text template (0.0ms)
|
34627
|
+
Completed 200 OK in 8.3ms (Views: 0.3ms | ActiveRecord: 3.4ms)
|
34628
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
34629
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34630
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
34631
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "test_feature"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", "Feature Description"], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34632
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34633
|
+
Started GET "/feature_checks" for 127.0.0.1 at 2015-08-06 20:29:29 -0400
|
34634
|
+
Processing by FeatureChecksController#index as HTML
|
34635
|
+
[1m[35mGreenFlag::SiteVisitor Load (0.3ms)[0m SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = '4176df52-3b84-46b5-bfe4-3399f0c13268' LIMIT 1
|
34636
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34637
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", nil], ["visitor_code", "4176df52-3b84-46b5-bfe4-3399f0c13268"]]
|
34638
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34639
|
+
[1m[35mGreenFlag::Feature Load (0.4ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature' LIMIT 1
|
34640
|
+
[1m[36mGreenFlag::FeatureDecision Load (0.4ms)[0m [1mSELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 3 AND "green_flag_feature_decisions"."site_visitor_id" = 3 LIMIT 1[0m
|
34641
|
+
[1m[35mGreenFlag::Rule Load (0.4ms)[0m SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 3 AND (version_number = 1) ORDER BY order_by
|
34642
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34643
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", nil], ["feature_id", 3], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 3], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34644
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34645
|
+
Rendered text template (0.0ms)
|
34646
|
+
Completed 200 OK in 6.4ms (Views: 0.3ms | ActiveRecord: 2.5ms)
|
34647
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
34648
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34649
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
34650
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34651
|
+
Processing by AnonymousController#index as HTML
|
34652
|
+
Rendered text template (0.0ms)
|
34653
|
+
Completed 200 OK in 1.3ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
34654
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
34655
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34656
|
+
Processing by AnonymousController#index as HTML
|
34657
|
+
Completed 200 OK in 0.4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
34658
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
34659
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34660
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_site_visitors"
|
34661
|
+
Processing by AnonymousController#index as HTML
|
34662
|
+
Completed 200 OK in 0.2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
34663
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "green_flag_site_visitors" [0m
|
34664
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
34665
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34666
|
+
Processing by AnonymousController#index as HTML
|
34667
|
+
Completed 200 OK in 0.5ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
34668
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
34669
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34670
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "green_flag_site_visitors"
|
34671
|
+
Processing by AnonymousController#index as HTML
|
34672
|
+
Completed 200 OK in 0.5ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
34673
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "green_flag_site_visitors" [0m
|
34674
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
34675
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34676
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
34677
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["code", "asdf"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34678
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34679
|
+
Processing by GreenFlag::Admin::RuleListsController#update as JS
|
34680
|
+
Parameters: {"_json"=>[], "feature_id"=>"4"}
|
34681
|
+
Completed 200 OK in 0.6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
34682
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
34683
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34684
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
34685
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "asdf"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34686
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34687
|
+
Processing by GreenFlag::Admin::RuleListsController#update as JS
|
34688
|
+
Parameters: {"_json"=>[], "feature_id"=>"5"}
|
34689
|
+
Completed 200 OK in 0.3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
34690
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
34691
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34692
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
34693
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["code", "asdf"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34694
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34695
|
+
Processing by GreenFlag::Admin::RuleListsController#show as JS
|
34696
|
+
Parameters: {"feature_id"=>"6"}
|
34697
|
+
[1m[36mGreenFlag::Feature Load (0.5ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1[0m [["id", "6"]]
|
34698
|
+
[1m[35mGreenFlag::Rule Load (0.4ms)[0m SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 6 AND (version_number = 1) ORDER BY order_by
|
34699
|
+
Completed 200 OK in 2.6ms (Views: 0.1ms | ActiveRecord: 0.9ms)
|
34700
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34701
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34702
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
34703
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "asdf"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34704
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34705
|
+
Processing by GreenFlag::Admin::FeatureDecisionSummariesController#update as JS
|
34706
|
+
Parameters: {"feature_id"=>"7"}
|
34707
|
+
[1m[35mGreenFlag::Feature Load (0.3ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "7"]]
|
34708
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 7 AND "green_flag_feature_decisions"."enabled" = 't'[0m
|
34709
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 7 AND "green_flag_feature_decisions"."enabled" = 'f'
|
34710
|
+
Completed 200 OK in 5.1ms (Views: 0.2ms | ActiveRecord: 1.0ms)
|
34711
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34712
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34713
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
34714
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "asdf"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34715
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34716
|
+
Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JS
|
34717
|
+
Parameters: {"feature_id"=>"8"}
|
34718
|
+
[1m[35mGreenFlag::Feature Load (0.4ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "8"]]
|
34719
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 8 AND "green_flag_feature_decisions"."enabled" = 't'[0m
|
34720
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 8 AND "green_flag_feature_decisions"."enabled" = 'f'
|
34721
|
+
Completed 200 OK in 3.8ms (Views: 0.2ms | ActiveRecord: 1.0ms)
|
34722
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34723
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34724
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34725
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "huge_banner_ad"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34726
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34727
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34728
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", true], ["feature_id", 9], ["manual", false], ["rule_id", nil], ["site_visitor_id", 1], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34729
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34730
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 9 AND "green_flag_feature_decisions"."enabled" = 't' AND (manual is not true)[0m
|
34731
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 9 AND "green_flag_feature_decisions"."enabled" = 't' AND (manual is not true)
|
34732
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
34733
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "green_flag_feature_events" ("count", "created_at", "event_type_code", "feature_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["count", 1], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["event_type_code", 0], ["feature_id", 9], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34734
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34735
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 9 AND "green_flag_feature_decisions"."enabled" = 't' AND (manual is not true)
|
34736
|
+
[1m[36mGreenFlag::FeatureEvent Load (0.4ms)[0m [1mSELECT "green_flag_feature_events".* FROM "green_flag_feature_events" ORDER BY "green_flag_feature_events"."id" DESC LIMIT 1[0m
|
34737
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
34738
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34739
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34740
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["code", "huge_banner_ad"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34741
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34742
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34743
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", true], ["feature_id", 10], ["manual", false], ["rule_id", nil], ["site_visitor_id", 1], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34744
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34745
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 10 AND "green_flag_feature_decisions"."enabled" = 't' AND (manual is not true)
|
34746
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 10 AND "green_flag_feature_decisions"."enabled" = 't' AND (manual is not true)[0m
|
34747
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34748
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_feature_events" ("count", "created_at", "event_type_code", "feature_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["count", 1], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["event_type_code", 0], ["feature_id", 10], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34749
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34750
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 10 AND "green_flag_feature_decisions"."enabled" = 't' AND (manual is not true)[0m
|
34751
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 10 AND "green_flag_feature_decisions"."enabled" = 't' AND (manual is not true)
|
34752
|
+
[1m[36mGreenFlag::FeatureDecision Load (0.3ms)[0m [1mSELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."id" = 5 LIMIT 1[0m
|
34753
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
34754
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34755
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_feature_events"
|
34756
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34757
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34758
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34759
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34760
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34761
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "big_font"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34762
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34763
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34764
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", nil], ["feature_id", 11], ["manual", true], ["rule_id", nil], ["site_visitor_id", 1], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34765
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34766
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "green_flag_feature_events" [0m
|
34767
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
34768
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34769
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34770
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["code", "big_font"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34771
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34772
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34773
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", nil], ["feature_id", 12], ["manual", true], ["rule_id", nil], ["site_visitor_id", 1], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34774
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34775
|
+
[1m[35mGreenFlag::FeatureDecision Load (0.3ms)[0m SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."id" = 7 LIMIT 1
|
34776
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34777
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34778
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34779
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "foo"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", "Feature Description"], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34780
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34781
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_features"
|
34782
|
+
[1m[36mGreenFlag::Feature Load (0.3ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'foo' LIMIT 1[0m
|
34783
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "green_flag_features"
|
34784
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34785
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34786
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "green_flag_features" [0m
|
34787
|
+
[1m[35mGreenFlag::Feature Load (0.3ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'foo' LIMIT 1
|
34788
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34789
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "foo"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34790
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34791
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "green_flag_features"
|
34792
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34793
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34794
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34795
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "big_font"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34796
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34797
|
+
[1m[35mGreenFlag::FeatureDecision Load (0.3ms)[0m SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 15 AND "green_flag_feature_decisions"."site_visitor_id" = 1 LIMIT 1
|
34798
|
+
[1m[36mGreenFlag::SiteVisitor Load (0.3ms)[0m [1mSELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."id" = 1 LIMIT 1[0m
|
34799
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34800
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", false], ["feature_id", 15], ["manual", nil], ["rule_id", 3], ["site_visitor_id", 1], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34801
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34802
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
34803
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34804
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34805
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "big_font"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34806
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34807
|
+
[1m[35mGreenFlag::FeatureDecision Load (0.3ms)[0m SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 16 AND "green_flag_feature_decisions"."site_visitor_id" = 1 LIMIT 1
|
34808
|
+
[1m[36mGreenFlag::Rule Load (0.4ms)[0m [1mSELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 16 AND (version_number = 1) ORDER BY order_by[0m
|
34809
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34810
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", nil], ["feature_id", 16], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 1], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34811
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34812
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34813
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34814
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34815
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "big_font"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34816
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34817
|
+
[1m[35mGreenFlag::FeatureDecision Load (0.3ms)[0m SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 17 AND "green_flag_feature_decisions"."site_visitor_id" = 1 LIMIT 1
|
34818
|
+
[1m[36mGreenFlag::SiteVisitor Load (0.4ms)[0m [1mSELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."id" = 1 LIMIT 1[0m
|
34819
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34820
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", true], ["feature_id", 17], ["manual", nil], ["rule_id", 2], ["site_visitor_id", 1], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34821
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34822
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
34823
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34824
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34825
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", "Feature Description"], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34826
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34827
|
+
[1m[35mGreenFlag::Rule Load (0.4ms)[0m SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 18 ORDER BY version_number DESC LIMIT 1
|
34828
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34829
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34830
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34831
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", "Feature Description"], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34832
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34833
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34834
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "green_flag_rules" ("created_at", "feature_id", "group_key", "order_by", "percentage", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["feature_id", 19], ["group_key", "Factory Test Group"], ["order_by", 1], ["percentage", 100], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 15]]
|
34835
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34836
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
34837
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "green_flag_rules" ("created_at", "feature_id", "group_key", "order_by", "percentage", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["feature_id", 19], ["group_key", "Factory Test Group"], ["order_by", 1], ["percentage", 100], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 14]]
|
34838
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34839
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34840
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_rules" ("created_at", "feature_id", "group_key", "order_by", "percentage", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["feature_id", 19], ["group_key", "Factory Test Group"], ["order_by", 1], ["percentage", 100], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 13]]
|
34841
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34842
|
+
[1m[36mGreenFlag::Rule Load (0.4ms)[0m [1mSELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 19 ORDER BY version_number DESC LIMIT 1[0m
|
34843
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
34844
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34845
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
34846
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34847
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
34848
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34849
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34850
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", false], ["feature_id", 2], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 2], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34851
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34852
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34853
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34854
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
34855
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34856
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34857
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "test_feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34858
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34859
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34860
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", false], ["feature_id", 20], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 1], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34861
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34862
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34863
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", false], ["feature_id", 20], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 1], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34864
|
+
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_gf_feature_decisions_on_site_visitor_id_feature_id"
|
34865
|
+
DETAIL: Key (site_visitor_id, feature_id)=(1, 20) already exists.
|
34866
|
+
: INSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"
|
34867
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34868
|
+
[1m[35mGreenFlag::FeatureDecision Load (0.4ms)[0m SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 20 AND "green_flag_feature_decisions"."site_visitor_id" = 1 LIMIT 1
|
34869
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34870
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34871
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "green_flag_features" [0m
|
34872
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34873
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", nil], ["visitor_code", "123"]]
|
34874
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34875
|
+
[1m[36mGreenFlag::Feature Load (0.4ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature_code' LIMIT 1[0m
|
34876
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34877
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["code", "test_feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34878
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34879
|
+
[1m[36mGreenFlag::FeatureDecision Load (0.3ms)[0m [1mSELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 21 AND "green_flag_feature_decisions"."site_visitor_id" = 4 LIMIT 1[0m
|
34880
|
+
[1m[35mGreenFlag::Rule Load (0.4ms)[0m SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 21 AND (version_number = 1) ORDER BY order_by
|
34881
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34882
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", nil], ["feature_id", 21], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 4], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34883
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34884
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_features"
|
34885
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
34886
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34887
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34888
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "test_feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34889
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34890
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34891
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", nil], ["visitor_code", "123"]]
|
34892
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34893
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34894
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", false], ["feature_id", 22], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 5], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34895
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34896
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34897
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "green_flag_feature_decisions" SET "enabled" = 't', "updated_at" = '2015-08-07 00:29:29.440417' WHERE "green_flag_feature_decisions"."id" = 15[0m
|
34898
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34899
|
+
[1m[36mGreenFlag::Feature Load (0.3ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature_code' LIMIT 1[0m
|
34900
|
+
[1m[35mGreenFlag::FeatureDecision Load (0.3ms)[0m SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 22 AND "green_flag_feature_decisions"."site_visitor_id" = 5 LIMIT 1
|
34901
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34902
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34903
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34904
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "test_feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34905
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34906
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34907
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", nil], ["visitor_code", "123"]]
|
34908
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34909
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34910
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", false], ["feature_id", 23], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 6], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34911
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34912
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34913
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34914
|
+
[1m[35mGreenFlag::Feature Load (0.3ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature_code' LIMIT 1
|
34915
|
+
[1m[36mGreenFlag::FeatureDecision Load (0.4ms)[0m [1mSELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 23 AND "green_flag_feature_decisions"."site_visitor_id" = 6 LIMIT 1[0m
|
34916
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
34917
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34918
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "green_flag_feature_decisions"
|
34919
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34920
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", nil], ["visitor_code", "123"]]
|
34921
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34922
|
+
[1m[35mGreenFlag::Feature Load (0.3ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature_code' LIMIT 1
|
34923
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34924
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "test_feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34925
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34926
|
+
[1m[35mGreenFlag::FeatureDecision Load (0.3ms)[0m SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 24 AND "green_flag_feature_decisions"."site_visitor_id" = 7 LIMIT 1
|
34927
|
+
[1m[36mGreenFlag::Rule Load (0.4ms)[0m [1mSELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 24 AND (version_number = 1) ORDER BY order_by[0m
|
34928
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34929
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", nil], ["feature_id", 24], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 7], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34930
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34931
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "green_flag_feature_decisions" [0m
|
34932
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
34933
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34934
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
34935
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", nil], ["visitor_code", "123"]]
|
34936
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34937
|
+
[1m[36mGreenFlag::Feature Load (0.3ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature_code' LIMIT 1[0m
|
34938
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34939
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["code", "test_feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34940
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34941
|
+
[1m[36mGreenFlag::FeatureDecision Load (0.3ms)[0m [1mSELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 25 AND "green_flag_feature_decisions"."site_visitor_id" = 8 LIMIT 1[0m
|
34942
|
+
[1m[35mGreenFlag::Rule Load (0.4ms)[0m SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 25 AND (version_number = 1) ORDER BY order_by
|
34943
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34944
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", nil], ["feature_id", 25], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 8], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34945
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34946
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
34947
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34948
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
34949
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 1], ["visitor_code", "123"]]
|
34950
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34951
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34952
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "test_feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34953
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34954
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34955
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", nil], ["feature_id", 26], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 9], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34956
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34957
|
+
[1m[36mGreenFlag::Feature Load (0.4ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature_code' LIMIT 1[0m
|
34958
|
+
[1m[35mGreenFlag::SiteVisitor Load (0.3ms)[0m SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1
|
34959
|
+
[1m[36mGreenFlag::FeatureDecision Load (0.4ms)[0m [1mSELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 26 AND "green_flag_feature_decisions"."site_visitor_id" = 9 LIMIT 1[0m
|
34960
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34961
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "green_flag_feature_decisions" SET "enabled" = 't', "manual" = 'f', "updated_at" = '2015-08-07 00:29:29.476532' WHERE "green_flag_feature_decisions"."id" = 19[0m
|
34962
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34963
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34964
|
+
[1m[35m (0.1ms)[0m BEGIN
|
34965
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34966
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 1], ["visitor_code", "123"]]
|
34967
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34968
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34969
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["code", "test_feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34970
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34971
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34972
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", nil], ["feature_id", 27], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 10], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34973
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34974
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_feature_decisions"
|
34975
|
+
[1m[36mGreenFlag::Feature Load (0.3ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature_code' LIMIT 1[0m
|
34976
|
+
[1m[35mGreenFlag::SiteVisitor Load (0.3ms)[0m SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1
|
34977
|
+
[1m[36mGreenFlag::FeatureDecision Load (0.3ms)[0m [1mSELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 27 AND "green_flag_feature_decisions"."site_visitor_id" = 10 LIMIT 1[0m
|
34978
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34979
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "green_flag_feature_decisions" SET "enabled" = 't', "manual" = 'f', "updated_at" = '2015-08-07 00:29:29.487616' WHERE "green_flag_feature_decisions"."id" = 20[0m
|
34980
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34981
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "green_flag_feature_decisions" [0m
|
34982
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
34983
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
34984
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34985
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 1], ["visitor_code", "123"]]
|
34986
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34987
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34988
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "test_feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
34989
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34990
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34991
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", nil], ["feature_id", 28], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 11], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
34992
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34993
|
+
[1m[36mGreenFlag::Feature Load (0.4ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature_code' LIMIT 1[0m
|
34994
|
+
[1m[35mGreenFlag::SiteVisitor Load (0.3ms)[0m SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1
|
34995
|
+
[1m[36mGreenFlag::FeatureDecision Load (0.4ms)[0m [1mSELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 28 AND "green_flag_feature_decisions"."site_visitor_id" = 11 LIMIT 1[0m
|
34996
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34997
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "green_flag_feature_decisions" SET "enabled" = 't', "manual" = 'f', "updated_at" = '2015-08-07 00:29:29.497937' WHERE "green_flag_feature_decisions"."id" = 21[0m
|
34998
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34999
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
35000
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35001
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "green_flag_site_visitors" [0m
|
35002
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35003
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["code", "test_feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
35004
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35005
|
+
[1m[36mGreenFlag::Feature Load (0.3ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature_code' LIMIT 1[0m
|
35006
|
+
[1m[35mGreenFlag::SiteVisitor Load (0.3ms)[0m SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1
|
35007
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35008
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 1], ["visitor_code", "7b7ad23e-239e-494e-b960-6f0737ad43cc"]]
|
35009
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35010
|
+
[1m[35mGreenFlag::FeatureDecision Load (0.3ms)[0m SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 29 AND "green_flag_feature_decisions"."site_visitor_id" = 12 LIMIT 1
|
35011
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35012
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", true], ["feature_id", 29], ["manual", false], ["rule_id", nil], ["site_visitor_id", 12], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
35013
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35014
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_site_visitors"
|
35015
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
35016
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35017
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35018
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "test_feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
35019
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35020
|
+
[1m[35mGreenFlag::Feature Load (0.4ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature_code' LIMIT 1
|
35021
|
+
[1m[36mGreenFlag::SiteVisitor Load (0.4ms)[0m [1mSELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1[0m
|
35022
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35023
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 1], ["visitor_code", "4850499d-7fa7-4479-8787-0fc8fecd7d8d"]]
|
35024
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35025
|
+
[1m[36mGreenFlag::FeatureDecision Load (0.3ms)[0m [1mSELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 30 AND "green_flag_feature_decisions"."site_visitor_id" = 13 LIMIT 1[0m
|
35026
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35027
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", true], ["feature_id", 30], ["manual", false], ["rule_id", nil], ["site_visitor_id", 13], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
35028
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35029
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
35030
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35031
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "green_flag_feature_decisions" [0m
|
35032
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35033
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["code", "test_feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
35034
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
35035
|
+
[1m[36mGreenFlag::Feature Load (0.3ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature_code' LIMIT 1[0m
|
35036
|
+
[1m[35mGreenFlag::SiteVisitor Load (0.3ms)[0m SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1
|
35037
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35038
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 1], ["visitor_code", "d4f4413e-bfc6-4ddf-b3fc-4eb3482d8c76"]]
|
35039
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35040
|
+
[1m[35mGreenFlag::FeatureDecision Load (0.3ms)[0m SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 31 AND "green_flag_feature_decisions"."site_visitor_id" = 14 LIMIT 1
|
35041
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35042
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", true], ["feature_id", 31], ["manual", false], ["rule_id", nil], ["site_visitor_id", 14], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
35043
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35044
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_feature_decisions"
|
35045
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
35046
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35047
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
35048
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "test_feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
35049
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35050
|
+
[1m[35mGreenFlag::Feature Load (0.4ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature_code' LIMIT 1
|
35051
|
+
[1m[36mGreenFlag::SiteVisitor Load (0.3ms)[0m [1mSELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1[0m
|
35052
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35053
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 1], ["visitor_code", "c2bf08e3-a292-4ddc-844d-0cf7a4569e53"]]
|
35054
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35055
|
+
[1m[36mGreenFlag::FeatureDecision Load (0.3ms)[0m [1mSELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 32 AND "green_flag_feature_decisions"."site_visitor_id" = 15 LIMIT 1[0m
|
35056
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35057
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["enabled", true], ["feature_id", 32], ["manual", false], ["rule_id", nil], ["site_visitor_id", 15], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00]]
|
35058
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
35059
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
35060
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35061
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
35062
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", "Feature Description"], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
35063
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35064
|
+
Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-08-06 20:29:29 -0400
|
35065
|
+
Processing by GreenFlag::Admin::FeaturesController#index as HTML
|
35066
|
+
[1m[35mGreenFlag::Feature Load (0.4ms)[0m SELECT "green_flag_features".* FROM "green_flag_features"
|
35067
|
+
Completed 200 OK in 44.5ms (Views: 42.9ms | ActiveRecord: 0.4ms)
|
35068
|
+
Started GET "/green_flag/admin/features/33" for 127.0.0.1 at 2015-08-06 20:29:29 -0400
|
35069
|
+
Processing by GreenFlag::Admin::FeaturesController#show as HTML
|
35070
|
+
Parameters: {"id"=>"33"}
|
35071
|
+
[1m[36mGreenFlag::Feature Load (0.8ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1[0m [["id", "33"]]
|
35072
|
+
Completed 200 OK in 8.9ms (Views: 6.1ms | ActiveRecord: 0.8ms)
|
35073
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
35074
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35075
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35076
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35077
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
35078
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35079
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35080
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35081
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
35082
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35083
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
35084
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35085
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
35086
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35087
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
35088
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35089
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
35090
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35091
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
35092
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35093
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
35094
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35095
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35096
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["code", "foo"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
35097
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
35098
|
+
Processing by GreenFlag::Admin::FeaturesController#show as HTML
|
35099
|
+
Parameters: {"id"=>"34"}
|
35100
|
+
[1m[36mGreenFlag::Feature Load (0.3ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1[0m [["id", "34"]]
|
35101
|
+
Completed 200 OK in 2.1ms (Views: 0.9ms | ActiveRecord: 0.3ms)
|
35102
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35103
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35104
|
+
Processing by GreenFlag::Admin::FeaturesController#index as HTML
|
35105
|
+
[1m[35mGreenFlag::Feature Load (0.3ms)[0m SELECT "green_flag_features".* FROM "green_flag_features"
|
35106
|
+
Completed 200 OK in 1.5ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
35107
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
35108
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35109
|
+
Processing by GreenFlag::Admin::WhiteListUsersController#index as JS
|
35110
|
+
Parameters: {"feature_id"=>"1"}
|
35111
|
+
Completed 200 OK in 0.6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
35112
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
35113
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35114
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
35115
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35116
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
35117
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35118
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35119
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", "Feature Description"], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
35120
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35121
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
35122
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "green_flag_rules" ("created_at", "feature_id", "group_key", "order_by", "percentage", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["feature_id", 35], ["group_key", "Factory Test Group"], ["order_by", 1], ["percentage", 100], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 10]]
|
35123
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35124
|
+
[1m[36mGreenFlag::Feature Load (0.3ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1[0m [["id", 35]]
|
35125
|
+
[1m[35mGreenFlag::Rule Load (0.4ms)[0m SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 35 ORDER BY version_number DESC LIMIT 1
|
35126
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35127
|
+
[1m[35m (0.3ms)[0m UPDATE "green_flag_features" SET "version_number" = 11, "updated_at" = '2015-08-07 00:29:29.686737' WHERE "green_flag_features"."id" = 35
|
35128
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35129
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35130
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_rules" ("created_at", "feature_id", "group_key", "order_by", "percentage", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Wed, 18 Feb 2015 18:30:56 UTC +00:00], ["feature_id", 35], ["group_key", "Pre-existing Visitors"], ["order_by", 0], ["percentage", 22], ["updated_at", Wed, 18 Feb 2015 18:30:56 UTC +00:00], ["version_number", 11]]
|
35131
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "green_flag_rules" ("created_at", "feature_id", "group_key", "order_by", "percentage", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["feature_id", 35], ["group_key", "Everyone"], ["order_by", 1], ["percentage", 40], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 11]]
|
35132
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35133
|
+
[1m[35mGreenFlag::Feature Load (0.2ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", 35]]
|
35134
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
35135
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35136
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
35137
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", "Feature Description"], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
35138
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35139
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
35140
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35141
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
35142
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["code", "feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", "Feature Description"], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
35143
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35144
|
+
[1m[36mGreenFlag::Feature Load (0.2ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1[0m [["id", 37]]
|
35145
|
+
[1m[35mGreenFlag::Rule Load (0.4ms)[0m SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 37 ORDER BY version_number DESC LIMIT 1
|
35146
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35147
|
+
[1m[35m (0.3ms)[0m UPDATE "green_flag_features" SET "version_number" = 2, "updated_at" = '2015-08-07 00:29:29.700307' WHERE "green_flag_features"."id" = 37
|
35148
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35149
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35150
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_rules" ("created_at", "feature_id", "group_key", "order_by", "percentage", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Wed, 18 Feb 2015 18:30:56 UTC +00:00], ["feature_id", 37], ["group_key", "Pre-existing Visitors"], ["order_by", 0], ["percentage", 22], ["updated_at", Wed, 18 Feb 2015 18:30:56 UTC +00:00], ["version_number", 2]]
|
35151
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_rules" ("created_at", "feature_id", "group_key", "order_by", "percentage", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["feature_id", 37], ["group_key", "Everyone"], ["order_by", 1], ["percentage", 40], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 2]]
|
35152
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35153
|
+
[1m[35mGreenFlag::Feature Load (0.2ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", 37]]
|
35154
|
+
[1m[36mGreenFlag::Rule Load (0.4ms)[0m [1mSELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 37 AND (version_number = 2) ORDER BY order_by LIMIT 1[0m
|
35155
|
+
[1m[35mGreenFlag::Rule Load (0.4ms)[0m SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 37 AND (version_number = 2) ORDER BY order_by DESC LIMIT 1
|
35156
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
35157
|
+
[1m[35m (0.2ms)[0m BEGIN
|
35158
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35159
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", "Feature Description"], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
35160
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35161
|
+
[1m[35mGreenFlag::Feature Load (0.2ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", 38]]
|
35162
|
+
[1m[36mGreenFlag::Rule Load (0.4ms)[0m [1mSELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 38 ORDER BY version_number DESC LIMIT 1[0m
|
35163
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35164
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "green_flag_features" SET "version_number" = 2, "updated_at" = '2015-08-07 00:29:29.710850' WHERE "green_flag_features"."id" = 38[0m
|
35165
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
35166
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35167
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_rules" ("created_at", "feature_id", "group_key", "order_by", "percentage", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Wed, 18 Feb 2015 18:30:56 UTC +00:00], ["feature_id", 38], ["group_key", "Pre-existing Visitors"], ["order_by", 0], ["percentage", 22], ["updated_at", Wed, 18 Feb 2015 18:30:56 UTC +00:00], ["version_number", 2]]
|
35168
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_rules" ("created_at", "feature_id", "group_key", "order_by", "percentage", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["feature_id", 38], ["group_key", "Everyone"], ["order_by", 1], ["percentage", 40], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 2]]
|
35169
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35170
|
+
[1m[36mGreenFlag::Feature Load (0.2ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1[0m [["id", 38]]
|
35171
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35172
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35173
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_rules"
|
35174
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35175
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", "Feature Description"], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
35176
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35177
|
+
[1m[35mGreenFlag::Feature Load (0.2ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", 39]]
|
35178
|
+
[1m[36mGreenFlag::Rule Load (0.4ms)[0m [1mSELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 39 ORDER BY version_number DESC LIMIT 1[0m
|
35179
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35180
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "green_flag_features" SET "version_number" = 2, "updated_at" = '2015-08-07 00:29:29.721110' WHERE "green_flag_features"."id" = 39[0m
|
35181
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
35182
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35183
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_rules" ("created_at", "feature_id", "group_key", "order_by", "percentage", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Wed, 18 Feb 2015 18:30:56 UTC +00:00], ["feature_id", 39], ["group_key", "Pre-existing Visitors"], ["order_by", 0], ["percentage", 22], ["updated_at", Wed, 18 Feb 2015 18:30:56 UTC +00:00], ["version_number", 2]]
|
35184
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_rules" ("created_at", "feature_id", "group_key", "order_by", "percentage", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["feature_id", 39], ["group_key", "Everyone"], ["order_by", 1], ["percentage", 40], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 2]]
|
35185
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35186
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "green_flag_rules" [0m
|
35187
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
35188
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35189
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35190
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["code", "feature_code"], ["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["description", "Feature Description"], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 1]]
|
35191
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35192
|
+
[1m[36mGreenFlag::Feature Load (0.2ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1[0m [["id", 40]]
|
35193
|
+
[1m[35mGreenFlag::Rule Load (0.4ms)[0m SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 40 ORDER BY version_number DESC LIMIT 1
|
35194
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35195
|
+
[1m[35m (0.3ms)[0m UPDATE "green_flag_features" SET "version_number" = 2, "updated_at" = '2015-08-07 00:29:29.730353' WHERE "green_flag_features"."id" = 40
|
35196
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35197
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35198
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_rules" ("created_at", "feature_id", "group_key", "order_by", "percentage", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Wed, 18 Feb 2015 18:30:56 UTC +00:00], ["feature_id", 40], ["group_key", "Pre-existing Visitors"], ["order_by", 0], ["percentage", 22], ["updated_at", Wed, 18 Feb 2015 18:30:56 UTC +00:00], ["version_number", 2]]
|
35199
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_rules" ("created_at", "feature_id", "group_key", "order_by", "percentage", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["feature_id", 40], ["group_key", "Everyone"], ["order_by", 1], ["percentage", 40], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["version_number", 2]]
|
35200
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35201
|
+
[1m[35mGreenFlag::Feature Load (0.2ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", 40]]
|
35202
|
+
[1m[36mGreenFlag::Rule Load (0.4ms)[0m [1mSELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 40 AND (version_number = 2) ORDER BY order_by LIMIT 1[0m
|
35203
|
+
[1m[35mGreenFlag::Rule Load (0.4ms)[0m SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 40 AND (version_number = 2) ORDER BY order_by DESC LIMIT 1
|
35204
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
35205
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35206
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
35207
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 1], ["visitor_code", "asdf2"]]
|
35208
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35209
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35210
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 2], ["visitor_code", "asdf"]]
|
35211
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35212
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
35213
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35214
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35215
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 1], ["visitor_code", "asdf2"]]
|
35216
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35217
|
+
[1m[35mGreenFlag::SiteVisitor Load (0.4ms)[0m SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1
|
35218
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
35219
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35220
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35221
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 1], ["visitor_code", "asdf2"]]
|
35222
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35223
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_site_visitors"
|
35224
|
+
[1m[36mGreenFlag::SiteVisitor Load (0.3ms)[0m [1mSELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1[0m
|
35225
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_site_visitors"
|
35226
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
35227
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35228
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
35229
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 1], ["visitor_code", "asdf2"]]
|
35230
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35231
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35232
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", nil], ["visitor_code", "asdf"]]
|
35233
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35234
|
+
[1m[36mGreenFlag::SiteVisitor Load (0.4ms)[0m [1mSELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1[0m
|
35235
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
35236
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35237
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
35238
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 2], ["visitor_code", "asdf"]]
|
35239
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35240
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
35241
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35242
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35243
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 2], ["visitor_code", "asdf"]]
|
35244
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35245
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_site_visitors"
|
35246
|
+
[1m[36mGreenFlag::SiteVisitor Load (0.3ms)[0m [1mSELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1[0m
|
35247
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35248
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 1], ["visitor_code", "4b75d2bb-6d40-497b-a955-e6592fd97212"]]
|
35249
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35250
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "green_flag_site_visitors" [0m
|
35251
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
35252
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35253
|
+
[1m[35mGreenFlag::SiteVisitor Load (0.3ms)[0m SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1
|
35254
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35255
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 1], ["visitor_code", "663ee5bc-127d-4ac6-9e40-1e333dee1307"]]
|
35256
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35257
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35258
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35259
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "green_flag_site_visitors"
|
35260
|
+
[1m[36mGreenFlag::SiteVisitor Load (0.3ms)[0m [1mSELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1[0m
|
35261
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35262
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", 1], ["visitor_code", "2ce192cc-7bce-4fb4-8489-f89f62d75341"]]
|
35263
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35264
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "green_flag_site_visitors" [0m
|
35265
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
35266
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35267
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35268
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", nil], ["visitor_code", "asdf"]]
|
35269
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
35270
|
+
[1m[36mGreenFlag::SiteVisitor Load (0.3ms)[0m [1mSELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1[0m
|
35271
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35272
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "green_flag_site_visitors" SET "user_id" = 1, "updated_at" = '2015-08-07 00:29:29.807758' WHERE "green_flag_site_visitors"."id" = 27[0m
|
35273
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
35274
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
35275
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35276
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35277
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", nil], ["visitor_code", "asdf"]]
|
35278
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35279
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "green_flag_site_visitors"
|
35280
|
+
[1m[36mGreenFlag::SiteVisitor Load (0.3ms)[0m [1mSELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."user_id" = 1 LIMIT 1[0m
|
35281
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35282
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "green_flag_site_visitors" SET "user_id" = 1, "updated_at" = '2015-08-07 00:29:29.813397' WHERE "green_flag_site_visitors"."id" = 28[0m
|
35283
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
35284
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "green_flag_site_visitors" [0m
|
35285
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
35286
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35287
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35288
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", nil], ["visitor_code", "asdf"]]
|
35289
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
35290
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
35291
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35292
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
35293
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", nil], ["visitor_code", "asdf"]]
|
35294
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35295
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35296
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35297
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
35298
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 00:29:29 UTC +00:00], ["user_id", nil], ["visitor_code", "asdf"]]
|
35299
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35300
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|