spec/dummy/log/development.log in green_flag-0.1.2 vs spec/dummy/log/development.log in green_flag-0.2.0

- old
+ new

@@ -9043,5 +9043,630 @@  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150213191101')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852') +Connecting to database specified by database.yml +  (2.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  +  (284.6ms) DROP DATABASE IF EXISTS "green_flag_dummy_test" +  (341.2ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode' +  (10.8ms) CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer) +  (1.2ms) CREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id") +  (4.0ms) CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (1.2ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code") +  (1.1ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id") +  (5.1ms) CREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.6ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code") +  (3.8ms) CREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.4ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number") +  (1.1ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number") +  (3.2ms) CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL) +  (1.2ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id") +  (1.1ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code") +  (2.8ms) CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255))  +  (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.4ms) SELECT version FROM "schema_migrations" +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726204409') +  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726195118') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221059') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221423') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140505204611') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511045110') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514202337') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516214909') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150213191101') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852') + + +Started GET "/" for 127.0.0.1 at 2015-09-28 12:09:51 -0400 +Connecting to database specified by database.yml + +ActionController::RoutingError (No route matches [GET] "/"): + actionpack (3.2.22) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.22) lib/rails/rack/logger.rb:32:in `call_app' + railties (3.2.22) lib/rails/rack/logger.rb:16:in `block in call' + activesupport (3.2.22) lib/active_support/tagged_logging.rb:22:in `tagged' + railties (3.2.22) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.7) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.7) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.22) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.7) lib/rack/lock.rb:15:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/static.rb:83:in `call' + railties (3.2.22) lib/rails/engine.rb:484:in `call' + railties (3.2.22) lib/rails/application.rb:231:in `call' + rack (1.4.7) lib/rack/content_length.rb:14:in `call' + railties (3.2.22) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.7) lib/rack/handler/webrick.rb:59:in `service' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' + + + Rendered /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-3.2.22/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.2ms) + + +Started GET "/green_flag" for 127.0.0.1 at 2015-09-28 12:10:09 -0400 + +ActionController::RoutingError (No route matches [GET] "/green_flag"): + actionpack (3.2.22) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.22) lib/rails/rack/logger.rb:32:in `call_app' + railties (3.2.22) lib/rails/rack/logger.rb:16:in `block in call' + activesupport (3.2.22) lib/active_support/tagged_logging.rb:22:in `tagged' + railties (3.2.22) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.7) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.7) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.22) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.7) lib/rack/lock.rb:15:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/static.rb:83:in `call' + railties (3.2.22) lib/rails/engine.rb:484:in `call' + railties (3.2.22) lib/rails/application.rb:231:in `call' + rack (1.4.7) lib/rack/content_length.rb:14:in `call' + railties (3.2.22) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.7) lib/rack/handler/webrick.rb:59:in `service' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' + + + Rendered /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-3.2.22/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) + + +Started GET "/green_flag/features" for 127.0.0.1 at 2015-09-28 12:10:14 -0400 + +ActionController::RoutingError (No route matches [GET] "/green_flag/features"): + actionpack (3.2.22) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.22) lib/rails/rack/logger.rb:32:in `call_app' + railties (3.2.22) lib/rails/rack/logger.rb:16:in `block in call' + activesupport (3.2.22) lib/active_support/tagged_logging.rb:22:in `tagged' + railties (3.2.22) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.7) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.7) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.22) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.7) lib/rack/lock.rb:15:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/static.rb:83:in `call' + railties (3.2.22) lib/rails/engine.rb:484:in `call' + railties (3.2.22) lib/rails/application.rb:231:in `call' + rack (1.4.7) lib/rack/content_length.rb:14:in `call' + railties (3.2.22) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.7) lib/rack/handler/webrick.rb:59:in `service' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' + + + Rendered /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-3.2.22/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (27.4ms) +Connecting to database specified by database.yml + + +Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-09-28 12:10:40 -0400 +Processing by GreenFlag::Admin::FeaturesController#index as HTML + GreenFlag::Feature Load (2.1ms) SELECT "green_flag_features".* FROM "green_flag_features"  + Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb within layouts/green_flag/application (1.2ms) +Compiled green_flag/admin/features.js (0ms) (pid 56813) +Compiled green_flag/application.js (1ms) (pid 56813) +Completed 200 OK in 60.0ms (Views: 44.3ms | ActiveRecord: 6.3ms) + + +Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-09-28 12:10:40 -0400 +Served asset /green_flag/application.css - 200 OK (3ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-09-28 12:10:40 -0400 +Served asset /jquery_ujs.js - 200 OK (1ms) + + +Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-09-28 12:10:40 -0400 +Served asset /green_flag/admin/features.css - 200 OK (1ms) + + +Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-09-28 12:10:40 -0400 +Served asset /green_flag/admin/features.js - 200 OK (1ms) + + +Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-09-28 12:10:40 -0400 +Served asset /green_flag/admin/rules.css - 200 OK (1ms) + + +Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-09-28 12:10:40 -0400 +Served asset /green_flag/admin/rules.js - 200 OK (1ms) + + +Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-09-28 12:10:40 -0400 +Served asset /green_flag/application.js - 200 OK (3ms) + + +Started GET "/green_flag/admin/features/3" for 127.0.0.1 at 2015-09-28 12:10:44 -0400 +Processing by GreenFlag::Admin::FeaturesController#show as HTML + Parameters: {"id"=>"3"} + GreenFlag::Feature Load (2.1ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "3"]] + Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (10.3ms) +Completed 200 OK in 18.6ms (Views: 14.1ms | ActiveRecord: 2.3ms) + + +Started GET "/green_flag/admin/features/3/rule_list" for 127.0.0.1 at 2015-09-28 12:10:44 -0400 +Processing by GreenFlag::Admin::RuleListsController#show as JSON + Parameters: {"feature_id"=>"3"} + GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "3"]] + GreenFlag::Rule Load (2.8ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 3 AND (version_number = 1) ORDER BY order_by +Completed 200 OK in 23.2ms (Views: 0.1ms | ActiveRecord: 8.4ms) + + +Started GET "/green_flag/admin/features/3/feature_decision_summary" for 127.0.0.1 at 2015-09-28 12:10:45 -0400 +Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON + Parameters: {"feature_id"=>"3"} + GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "3"]] +  (1.7ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 3 AND "green_flag_feature_decisions"."enabled" = 't' +  (0.3ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 3 AND "green_flag_feature_decisions"."enabled" = 'f' +Completed 200 OK in 14.7ms (Views: 0.2ms | ActiveRecord: 4.7ms) + + +Started GET "/green_flag/admin/features/3/white_list_users" for 127.0.0.1 at 2015-09-28 12:10:45 -0400 +Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON + Parameters: {"feature_id"=>"3"} + GreenFlag::FeatureDecision Load (4.5ms) SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" INNER JOIN "green_flag_site_visitors" ON "green_flag_site_visitors"."id" = "green_flag_feature_decisions"."site_visitor_id" INNER JOIN "users" ON "users"."id" = "green_flag_site_visitors"."user_id" WHERE "green_flag_feature_decisions"."feature_id" = 3 AND "green_flag_feature_decisions"."enabled" = 't' AND "green_flag_feature_decisions"."manual" = 't' ORDER BY created_at +Completed 200 OK in 18.7ms (Views: 0.1ms | ActiveRecord: 7.6ms) + + +Started GET "/green_flag/admin/features/3/current_visitor_status" for 127.0.0.1 at 2015-09-28 12:10:45 -0400 +Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON + Parameters: {"id"=>"3"} + GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "3"]] + GreenFlag::SiteVisitor Load (2.4ms) SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = 'cf9ddac9-d92b-4eea-8359-0463ff85d72b' LIMIT 1 +  (0.1ms) BEGIN + SQL (2.2ms) INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Mon, 28 Sep 2015 16:10:45 UTC +00:00], ["updated_at", Mon, 28 Sep 2015 16:10:45 UTC +00:00], ["user_id", nil], ["visitor_code", "cf9ddac9-d92b-4eea-8359-0463ff85d72b"]] +  (0.3ms) COMMIT + GreenFlag::FeatureDecision Load (0.6ms) SELECT "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" = 4 LIMIT 1 +Completed 200 OK in 13.8ms (Views: 0.2ms | ActiveRecord: 6.2ms) +Connecting to database specified by database.yml +  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  +Migrating to CreateGreenFlagSiteVisitors (20140502112602) +Migrating to CreateGreenFlagFeatures (20140502221059) +Migrating to CreateGreenFlagFeatureDecisions (20140502221423) +Migrating to AddVisitorCodeToSiteVisitors (20140505204611) +Migrating to CreateGreenFlagRules (20140511045110) +Migrating to SetDefaultPercentageInGreenFlagRules (20140513203728) +Migrating to RequireOrderingForGreenFlagRules (20140514202337) +Migrating to AddRestrictionsToGreenFlagRules (20140516214909) +Migrating to CreateGreenFlagFeatureEvents (20150211214159) +Migrating to AddRuleIdToGreenFlagFeatureDecisions (20150213191101) +Migrating to AddVersionNumberToGreenFlagRules (20150218035000) +Migrating to AddVersionNumberToGreenFlagFeatures (20150218035805) +Migrating to AddVersionNumberToGreenFlagRulesIndices (20150218171852) +Migrating to CreateUsers (20150726195118) +Migrating to AddEmailToUsers (20150726204409) +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" +Connecting to database specified by database.yml +Connecting to database specified by database.yml +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  +  (260.3ms) DROP DATABASE IF EXISTS "green_flag_dummy_test" +  (308.1ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode' +  (9.1ms) CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer) +  (1.2ms) CREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id") +  (2.5ms) CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (1.1ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code") +  (1.0ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id") +  (4.7ms) CREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.4ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code") +  (2.8ms) CREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.2ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number") +  (1.1ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number") +  (2.5ms) CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id") +  (1.1ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code") +  (4.3ms) CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255))  +  (1.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) +  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.4ms) SELECT version FROM "schema_migrations" +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726204409') +  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726195118') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221059') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221423') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140505204611') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511045110') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514202337') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516214909') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150213191101') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852') + + +Started GET "/" for 127.0.0.1 at 2015-09-29 14:02:35 -0400 +Connecting to database specified by database.yml + +ActionController::RoutingError (No route matches [GET] "/"): + actionpack (3.2.22) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.22) lib/rails/rack/logger.rb:32:in `call_app' + railties (3.2.22) lib/rails/rack/logger.rb:16:in `block in call' + activesupport (3.2.22) lib/active_support/tagged_logging.rb:22:in `tagged' + railties (3.2.22) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.7) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.7) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.22) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.7) lib/rack/lock.rb:15:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/static.rb:83:in `call' + railties (3.2.22) lib/rails/engine.rb:484:in `call' + railties (3.2.22) lib/rails/application.rb:231:in `call' + rack (1.4.7) lib/rack/content_length.rb:14:in `call' + railties (3.2.22) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.7) lib/rack/handler/webrick.rb:59:in `service' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' + + + Rendered /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-3.2.22/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.5ms) + + +Started GET "/feature_checks" for 127.0.0.1 at 2015-09-29 14:02:42 -0400 + +ActionController::RoutingError (uninitialized constant FeatureChecksController): + activesupport (3.2.22) lib/active_support/inflector/methods.rb:230:in `block in constantize' + activesupport (3.2.22) lib/active_support/inflector/methods.rb:229:in `each' + activesupport (3.2.22) lib/active_support/inflector/methods.rb:229:in `constantize' + actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' + actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:54:in `controller' + actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:32:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `block in call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:608:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.7) lib/rack/etag.rb:23:in `call' + rack (1.4.7) lib/rack/conditionalget.rb:25:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.7) lib/rack/session/abstract/id.rb:210:in `context' + rack (1.4.7) lib/rack/session/abstract/id.rb:205:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/cookies.rb:341:in `call' + activerecord (3.2.22) lib/active_record/query_cache.rb:64:in `call' + activerecord (3.2.22) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' + activesupport (3.2.22) lib/active_support/callbacks.rb:405:in `_run__248233098580449770__call__4041447048879497852__callbacks' + activesupport (3.2.22) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.22) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.22) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.22) lib/rails/rack/logger.rb:32:in `call_app' + railties (3.2.22) lib/rails/rack/logger.rb:16:in `block in call' + activesupport (3.2.22) lib/active_support/tagged_logging.rb:22:in `tagged' + railties (3.2.22) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.7) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.7) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.22) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.7) lib/rack/lock.rb:15:in `call' + actionpack (3.2.22) lib/action_dispatch/middleware/static.rb:83:in `call' + railties (3.2.22) lib/rails/engine.rb:484:in `call' + railties (3.2.22) lib/rails/application.rb:231:in `call' + rack (1.4.7) lib/rack/content_length.rb:14:in `call' + railties (3.2.22) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.7) lib/rack/handler/webrick.rb:59:in `service' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' + /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' + + + Rendered /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-3.2.22/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) +Connecting to database specified by database.yml +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  +  (117.1ms) DROP DATABASE IF EXISTS "green_flag_dummy_test" +  (234.0ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode' +  (4.9ms) CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer) +  (1.1ms) CREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id") +  (2.5ms) CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (1.2ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code") +  (1.0ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id") +  (5.4ms) CREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.6ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code") +  (2.8ms) CREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.2ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number") +  (1.1ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number") +  (2.4ms) CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id") +  (1.0ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code") +  (2.4ms) CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255))  +  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) +  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726204409') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726195118') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221059') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221423') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140505204611') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511045110') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514202337') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516214909') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150213191101') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852') + + +Started GET "/feature_checks" for 127.0.0.1 at 2015-09-29 14:15:44 -0400 +Connecting to database specified by database.yml +Processing by FeatureChecksController#index as HTML + GreenFlag::SiteVisitor Load (4.3ms) SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = '2' LIMIT 1 + GreenFlag::Feature Load (1.8ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature' LIMIT 1 +  (0.2ms) BEGIN + SQL (4.6ms) 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", Tue, 29 Sep 2015 18:15:45 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Sep 2015 18:15:45 UTC +00:00], ["version_number", 1]] +  (0.4ms) COMMIT + GreenFlag::FeatureDecision Load (1.9ms) SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 4 AND "green_flag_feature_decisions"."site_visitor_id" = 1 LIMIT 1 + GreenFlag::Rule Load (2.4ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 4 AND (version_number = 1) ORDER BY order_by +  (0.1ms) BEGIN + SQL (1.9ms) 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", Tue, 29 Sep 2015 18:15:45 UTC +00:00], ["enabled", nil], ["feature_id", 4], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 1], ["updated_at", Tue, 29 Sep 2015 18:15:45 UTC +00:00]] +  (0.4ms) COMMIT + Rendered text template (0.0ms) +Completed 200 OK in 147.7ms (Views: 3.6ms | ActiveRecord: 32.5ms) + + +Started GET "/feature_checks" for 127.0.0.1 at 2015-09-29 14:15:47 -0400 +Processing by FeatureChecksController#index as HTML + GreenFlag::SiteVisitor Load (0.4ms) SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = '2' LIMIT 1 + GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature' LIMIT 1 + GreenFlag::FeatureDecision Load (0.4ms) SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 4 AND "green_flag_feature_decisions"."site_visitor_id" = 1 LIMIT 1 + GreenFlag::Rule Load (0.4ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 4 AND (version_number = 1) ORDER BY order_by +  (0.1ms) BEGIN +  (0.2ms) COMMIT + Rendered text template (0.0ms) +Completed 200 OK in 5.9ms (Views: 0.5ms | ActiveRecord: 1.8ms) +Connecting to database specified by database.yml +  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  +  (272.0ms) DROP DATABASE IF EXISTS "green_flag_dummy_test" +  (335.4ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode' +  (10.8ms) CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer) +  (1.2ms) CREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id") +  (2.8ms) CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (1.1ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code") +  (1.0ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id") +  (5.3ms) CREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.4ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code") +  (3.0ms) CREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.2ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number") +  (1.3ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number") +  (2.7ms) CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL) +  (1.1ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id") +  (1.0ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code") +  (2.7ms) CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255))  +  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726204409') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726195118') +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221059') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221423') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140505204611') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511045110') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514202337') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516214909') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150213191101') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852') +Connecting to database specified by database.yml +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  +  (116.9ms) DROP DATABASE IF EXISTS "green_flag_dummy_test" +  (236.6ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode' +  (4.7ms) CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer) +  (1.1ms) CREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id") +  (3.1ms) CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (1.3ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code") +  (1.1ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id") +  (4.1ms) CREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.4ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code") +  (3.0ms) CREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.2ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number") +  (1.1ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number") +  (2.5ms) CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL) +  (1.1ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id") +  (1.0ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code") +  (2.5ms) CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255))  +  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726204409') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726195118') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221059') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221423') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140505204611') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511045110') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514202337') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516214909') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150213191101') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852') +Connecting to database specified by database.yml +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  +  (263.9ms) DROP DATABASE IF EXISTS "green_flag_dummy_test" +  (249.5ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode' +  (5.0ms) CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer) +  (1.2ms) CREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id") +  (3.6ms) CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (1.7ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code") +  (1.1ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id") +  (4.2ms) CREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.7ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code") +  (3.3ms) CREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.3ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number") +  (1.4ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number") +  (2.6ms) CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL) +  (1.1ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id") +  (1.0ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code") +  (2.5ms) CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255))  +  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726204409') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726195118') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221059') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221423') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140505204611') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511045110') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514202337') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516214909') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150213191101') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852') +Connecting to database specified by database.yml +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  +  (115.9ms) DROP DATABASE IF EXISTS "green_flag_dummy_test" +  (252.2ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode' +  (5.3ms) CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer) +  (1.3ms) CREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id") +  (2.9ms) CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (1.1ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code") +  (1.1ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id") +  (4.4ms) CREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.5ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code") +  (2.7ms) CREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.2ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number") +  (1.1ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number") +  (2.7ms) CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id") +  (1.0ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code") +  (2.5ms) CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255))  +  (1.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726204409') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726195118') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221059') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221423') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140505204611') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511045110') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514202337') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516214909') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150213191101') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852') +Connecting to database specified by database.yml +  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  +  (280.3ms) DROP DATABASE IF EXISTS "green_flag_dummy_test" +  (338.6ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode' +  (10.0ms) CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer) +  (1.2ms) CREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id") +  (3.6ms) CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (1.2ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code") +  (1.1ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id") +  (5.5ms) CREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.6ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code") +  (3.7ms) CREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.4ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number") +  (1.3ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number") +  (3.4ms) CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL) +  (1.2ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id") +  (1.2ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code") +  (2.8ms) CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255))  +  (1.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.5ms) SELECT version FROM "schema_migrations" +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726204409') +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726195118') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221059') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221423') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140505204611') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511045110') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514202337') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516214909') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150213191101') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852') +Connecting to database specified by database.yml +  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  +  (117.8ms) DROP DATABASE IF EXISTS "green_flag_dummy_test" +  (237.5ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode' +  (6.1ms) CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer) +  (1.4ms) CREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id") +  (2.7ms) CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (1.2ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code") +  (1.0ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id") +  (4.3ms) CREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.6ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code") +  (2.6ms) CREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL)  +  (1.2ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number") +  (1.1ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number") +  (2.5ms) CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id") +  (1.0ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code") +  (2.6ms) CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255))  +  (1.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) +  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726204409') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726195118') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221059') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221423') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140505204611') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511045110') +  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514202337') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516214909') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150213191101') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') +  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')