Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (7.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.5ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (120.2ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (237.0ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.4ms) 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 ('0') Connecting to database specified by database.yml  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateGreenFlagSiteVisitors (20140502112602)  (0.1ms) BEGIN  (4.7ms) CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.5ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id")  (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140502112602')  (0.7ms) COMMIT Migrating to CreateGreenFlagFeatures (20140502221059)  (0.2ms) BEGIN  (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)  (1.0ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140502221059')  (0.5ms) COMMIT Migrating to CreateGreenFlagFeatureDecisions (20140502221423)  (0.3ms) BEGIN  (3.6ms) 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)   (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")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140502221423')  (0.3ms) COMMIT Migrating to CreateGreenFlagRules (20140511045110)  (0.4ms) BEGIN  (2.5ms) CREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255), "feature_id" integer, "order_by" integer, "percentage" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.0ms) CREATE INDEX "index_green_flag_rules_on_feature_id_and_order_by" ON "green_flag_rules" ("feature_id", "order_by")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140511045110')  (0.3ms) COMMIT Migrating to SetDefaultPercentageInGreenFlagRules (20140513203728)  (0.2ms) BEGIN  (0.5ms) update green_flag_rules set percentage=0 where percentage is null  (1.3ms) ALTER TABLE "green_flag_rules" ALTER COLUMN "percentage" TYPE integer  (0.4ms) ALTER TABLE "green_flag_rules" ALTER COLUMN "percentage" SET DEFAULT 0  (0.3ms) UPDATE "green_flag_rules" SET "percentage"=0 WHERE "percentage" IS NULL  (0.2ms) ALTER TABLE "green_flag_rules" ALTER "percentage" SET NOT NULL  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140513203728')  (0.3ms) COMMIT Migrating to RequireOrderingForGreenFlagRules (20140514202337)  (0.2ms) BEGIN  (1.1ms) ALTER TABLE "green_flag_rules" ALTER COLUMN "order_by" TYPE integer  (0.3ms) ALTER TABLE "green_flag_rules" ALTER "order_by" SET NOT NULL  (0.5ms) DROP INDEX "index_green_flag_rules_on_feature_id_and_order_by"  (1.1ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_id_and_order_by" ON "green_flag_rules" ("feature_id", "order_by")  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140514202337')  (0.9ms) COMMIT Migrating to AddRestrictionsToGreenFlagRules (20140516214909)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "green_flag_rules" ALTER COLUMN "group_key" TYPE character varying(255)  (0.2ms) ALTER TABLE "green_flag_rules" ALTER "group_key" SET NOT NULL  (0.8ms) ALTER TABLE "green_flag_rules" ALTER COLUMN "feature_id" TYPE integer  (0.2ms) ALTER TABLE "green_flag_rules" ALTER "feature_id" SET NOT NULL  (0.9ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_id_and_group_key" ON "green_flag_rules" ("feature_id", "group_key")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140516214909')  (0.3ms) COMMIT Migrating to CreateGreenFlagFeatureEvents (20150211214159)  (0.2ms) BEGIN  (2.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)  (0.8ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")  (0.8ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20150211214159')  (0.4ms) COMMIT Migrating to AddRuleIdToGreenFlagFeatureDecisions (20150213191101)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "green_flag_feature_decisions" ADD COLUMN "rule_id" integer  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20150213191101')  (0.2ms) COMMIT Migrating to AddVersionNumberToGreenFlagRules (20150218035000)  (0.1ms) BEGIN  (4.0ms) ALTER TABLE "green_flag_rules" ADD COLUMN "version_number" integer DEFAULT 1 NOT NULL  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20150218035000')  (0.7ms) COMMIT Migrating to AddVersionNumberToGreenFlagFeatures (20150218035805)  (0.1ms) BEGIN  (4.2ms) ALTER TABLE "green_flag_features" ADD COLUMN "version_number" integer DEFAULT 1 NOT NULL  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20150218035805')  (0.7ms) COMMIT Migrating to AddVersionNumberToGreenFlagRulesIndices (20150218171852)  (0.2ms) BEGIN  (0.3ms) DROP INDEX "index_green_flag_rules_on_feature_id_and_group_key"  (0.2ms) DROP INDEX "index_green_flag_rules_on_feature_id_and_order_by"  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateGreenFlagSiteVisitors (20140502112602) Migrating to CreateGreenFlagFeatures (20140502221059) Migrating to CreateGreenFlagFeatureDecisions (20140502221423) 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)  (0.1ms) BEGIN  (0.7ms) DROP INDEX "index_green_flag_rules_on_feature_id_and_group_key"  (0.3ms) DROP INDEX "index_green_flag_rules_on_feature_id_and_order_by"  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateGreenFlagSiteVisitors (20140502112602) Migrating to CreateGreenFlagFeatures (20140502221059) Migrating to CreateGreenFlagFeatureDecisions (20140502221423) 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)  (0.1ms) BEGIN  (0.9ms) DROP INDEX "index_green_flag_rules_on_feature_id_and_group_key"  (0.3ms) DROP INDEX "index_green_flag_rules_on_feature_id_and_order_by"  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateGreenFlagSiteVisitors (20140502112602) Migrating to CreateGreenFlagFeatures (20140502221059) Migrating to CreateGreenFlagFeatureDecisions (20140502221423) 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)  (0.2ms) BEGIN  (0.9ms) DROP INDEX "index_green_flag_rules_on_feature_id_and_group_key"  (0.3ms) DROP INDEX "index_green_flag_rules_on_feature_id_and_order_by"  (1.6ms) COMMIT  (2.5ms) CREATE UNIQUE INDEX CONCURRENTLY "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number")  (1.5ms) CREATE UNIQUE INDEX CONCURRENTLY "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number")  (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20150218171852')  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (118.8ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (247.6ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.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.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.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")  (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.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.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.6ms) CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp 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 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 ('20150218171852')  (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 ('20140511045110')  (0.3ms) 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.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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Connecting to database specified by database.yml  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (118.8ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (236.0ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.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.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.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")  (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")  (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.2ms) 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)  (1.1ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id")  (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 ('20150218171852')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221059')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221423')  (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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (118.0ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (235.5ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.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.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.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.4ms) 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.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")  (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.5ms) CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.2ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id")  (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 ('20150218171852')  (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 ('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.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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateGreenFlagSiteVisitors (20140502112602) Migrating to CreateGreenFlagFeatures (20140502221059) Migrating to CreateGreenFlagFeatureDecisions (20140502221423) Migrating to AddVisitorCodeToSiteVisitors (20140505204611)  (0.1ms) BEGIN  (1.0ms) ALTER TABLE "green_flag_site_visitors" ADD COLUMN "visitor_code" character varying(255)  (0.6ms) update green_flag_site_visitors set visitor_code = id  (0.5ms) ALTER TABLE "green_flag_site_visitors" ALTER COLUMN "visitor_code" TYPE character varying(255)  (0.3ms) ALTER TABLE "green_flag_site_visitors" ALTER "visitor_code" SET NOT NULL  (1.6ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140505204611')  (0.6ms) COMMIT 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)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (120.7ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (237.6ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.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.5ms) 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.3ms) 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")  (3.8ms) 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.2ms) 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.0ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number")  (1.0ms) 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)  (0.9ms) 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")  (1.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (0.4ms) 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.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') Connecting to database specified by database.yml  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (265.7ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (328.8ms) 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.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.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.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.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.2ms) 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")  (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 ('20150218171852')  (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.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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (117.5ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (295.2ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.2ms) 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.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")  (4.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.5ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")  (2.9ms) 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.2ms) 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.1ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")  (1.1ms) 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.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (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.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') Connecting to database specified by database.yml  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (377.6ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (328.6ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (12.4ms) 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.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.2ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")  (1.2ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")  (4.6ms) 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.3ms) 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.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.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.1ms) 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")  (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (1.3ms) 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 ('20150218171852')  (0.8ms) 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.2ms) 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.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516214909')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159')  (0.2ms) 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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (117.2ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (235.5ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.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.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.4ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")  (0.9ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")  (4.6ms) 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.3ms) 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.2ms) 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.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")  (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.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')  (0.4ms) 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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (268.2ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (322.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.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.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.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")  (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.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.3ms) 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")  (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 ('20150218171852')  (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.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.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159')  (0.4ms) 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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (115.8ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (238.5ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (6.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.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.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.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")  (3.9ms) 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.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.2ms) 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.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")  (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 ('20150218171852')  (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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159')  (0.4ms) 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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (116.4ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (243.0ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.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")  (3.3ms) 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.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.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.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")  (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.3ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221059')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502221423')  (0.5ms) 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.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.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (119.3ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (233.6ms) 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.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.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.1ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")  (3.9ms) 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.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.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.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")  (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 ('20150218171852')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602')  (0.5ms) 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.3ms) 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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (117.5ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (235.2ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.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.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.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.0ms) 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.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.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")  (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 ('20150218171852')  (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.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.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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (117.7ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (237.4ms) 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.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.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.0ms) 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.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.8ms) 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")  (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 ('20150218171852')  (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.4ms) 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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150213191101')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (117.6ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (233.8ms) 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.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.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")  (3.8ms) 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.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.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")  (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 ('20150218171852')  (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.4ms) 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.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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (117.3ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (232.0ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (4.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.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.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.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.1ms) 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.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.3ms) 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")  (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 ('20150218171852')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602')  (0.4ms) 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.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (117.7ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (241.2ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (7.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.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.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.0ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")  (4.0ms) 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.2ms) 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")  (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.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (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.4ms) 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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (114.7ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (231.8ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (4.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.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.0ms) 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.3ms) 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.2ms) 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")  (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.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516214909')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159')  (0.4ms) 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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (116.4ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (233.4ms) 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.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.1ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")  (3.9ms) 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.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.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")  (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.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (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.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.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (117.5ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (232.5ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.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.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.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")  (3.8ms) 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.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")  (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 ('20150218171852')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602')  (0.4ms) 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.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.3ms) 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.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (256.6ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (237.6ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (6.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.4ms) CREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id")  (3.2ms) 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.9ms) 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.3ms) 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.1ms) 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.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)  (2.8ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id")  (1.3ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")  (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.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (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.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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (117.0ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (239.1ms) 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")  (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.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.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")  (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.1ms) 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.3ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")  (1.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (1.2ms) 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 ('20150218171852')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602')  (0.4ms) 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.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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (120.6ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (239.5ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.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.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.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")  (3.9ms) 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.3ms) 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")  (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 ('20150218171852')  (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.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.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') 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"  (241.1ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (6.5ms) 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.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.0ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")  (4.6ms) 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)   (2.0ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")  (3.4ms) 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.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")  (0.9ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")  (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 ('20150218171852')  (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.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159')  (0.4ms) 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') Started GET "/" for 127.0.0.1 at 2015-07-13 17:51: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 (1.0ms) Started GET "/green_flags/admin/features" for 127.0.0.1 at 2015-07-13 17:51:47 -0400 ActionController::RoutingError (No route matches [GET] "/green_flags/admin/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 (0.4ms) Connecting to database specified by database.yml Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-13 17:52:20 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (1.3ms) 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/application (11.3ms) Completed 500 Internal Server Error in 17.5ms ActionView::Template::Error (undefined local variable or method `green_flag_admin_features_path' for #<#:0x007ffc7bdb4690>): 2: <%= stylesheet_link_tag 'green_flag/admin/features' %> 3: 4: <%= content_for(:above_content) do %> 5:

<%= link_to 'Feature Flags', green_flag_admin_features_path %>

6: <% end %> 7: 8: /Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb:5:in `block in ___sers_tim_src_green_flag_app_views_green_flag_admin_features_index_html_erb___3450018442096446308_70361193246020' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:138:in `content_for' /Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb:4:in `___sers_tim_src_green_flag_app_views_green_flag_admin_features_index_html_erb___3450018442096446308_70361193246020' actionpack (3.2.22) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.22) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.22) lib/action_view/template.rb:143:in `render' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.22) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.22) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.22) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.22) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.22) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__3823035902865390112__process_action__1792938772747004034__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__4281560918438206715__call__411552602096873261__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/_trace.erb (0.9ms) 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/_request_and_response.erb (0.7ms) 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/template_error.erb within rescues/layout (5.8ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-13 17:53:38 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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/application (47.0ms) Completed 500 Internal Server Error in 49.0ms ActionView::Template::Error (undefined local variable or method `green_flag_admin_features_path' for #<#:0x007ffc7d0c2890>): 2: <%= stylesheet_link_tag 'green_flag/admin/features' %> 3: 4: <%= content_for(:above_content) do %> 5:

<%= link_to 'Feature Flags', green_flag_admin_features_path %>

6: <% end %> 7: 8:
/Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb:5:in `block in ___sers_tim_src_green_flag_app_views_green_flag_admin_features_index_html_erb___3450018442096446308_70361203213560' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:138:in `content_for' /Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb:4:in `___sers_tim_src_green_flag_app_views_green_flag_admin_features_index_html_erb___3450018442096446308_70361203213560' actionpack (3.2.22) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.22) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.22) lib/action_view/template.rb:143:in `render' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.22) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.22) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.22) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.22) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.22) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__3823035902865390112__process_action__1792938772747004034__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__4281560918438206715__call__411552602096873261__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/_trace.erb (1.3ms) 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/_request_and_response.erb (0.8ms) 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/template_error.erb within rescues/layout (6.7ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-13 17:53:46 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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/application (9.3ms) Completed 500 Internal Server Error in 11.8ms ActionView::Template::Error (undefined local variable or method `green_flag_admin_features_path' for #<#:0x007ffc7be6db40>): 2: <%= stylesheet_link_tag 'green_flag/admin/features' %> 3: 4: <%= content_for(:above_content) do %> 5:

<%= link_to 'Feature Flags', green_flag_admin_features_path %>

6: <% end %> 7: 8:
/Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb:5:in `block in ___sers_tim_src_green_flag_app_views_green_flag_admin_features_index_html_erb___3450018442096446308_70361203213560' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:138:in `content_for' /Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb:4:in `___sers_tim_src_green_flag_app_views_green_flag_admin_features_index_html_erb___3450018442096446308_70361203213560' actionpack (3.2.22) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.22) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.22) lib/action_view/template.rb:143:in `render' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.22) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.22) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.22) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.22) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.22) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__3823035902865390112__process_action__1792938772747004034__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__4281560918438206715__call__411552602096873261__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/_trace.erb (0.8ms) 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/_request_and_response.erb (0.6ms) 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/template_error.erb within rescues/layout (4.9ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-13 17:54:04 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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/application (27.2ms) Completed 500 Internal Server Error in 29.4ms ActionView::Template::Error (undefined local variable or method `green_flag_admin_features_path' for #<#:0x007ffc7d0e9df0>): 2: <%= stylesheet_link_tag 'green_flag/admin/features' %> 3: 4: <%= content_for(:above_content) do %> 5:

<%= link_to 'Feature Flags', green_flag_admin_features_path %>

6: <% end %> 7: 8:
/Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb:5:in `block in ___sers_tim_src_green_flag_app_views_green_flag_admin_features_index_html_erb___3450018442096446308_70361203213560' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:138:in `content_for' /Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb:4:in `___sers_tim_src_green_flag_app_views_green_flag_admin_features_index_html_erb___3450018442096446308_70361203213560' actionpack (3.2.22) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.22) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.22) lib/action_view/template.rb:143:in `render' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.22) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.22) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.22) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.22) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.22) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__3823035902865390112__process_action__1792938772747004034__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__4281560918438206715__call__411552602096873261__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/_trace.erb (1.1ms) 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/_request_and_response.erb (0.7ms) 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/template_error.erb within rescues/layout (30.0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-13 17:54:21 -0400 Connecting to database specified by database.yml Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.5ms) 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/application (11.5ms) Completed 500 Internal Server Error in 19.3ms ActionView::Template::Error (undefined local variable or method `green_flag_admin_features_path' for #<#:0x007fe4938344e0>): 2: <%= stylesheet_link_tag 'green_flag/admin/features' %> 3: 4: <%= content_for(:above_content) do %> 5:

<%= link_to 'Feature Flags', green_flag_admin_features_path %>

6: <% end %> 7: 8:
/Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb:5:in `block in ___sers_tim_src_green_flag_app_views_green_flag_admin_features_index_html_erb__3087852543108892101_70309852473060' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:138:in `content_for' /Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb:4:in `___sers_tim_src_green_flag_app_views_green_flag_admin_features_index_html_erb__3087852543108892101_70309852473060' actionpack (3.2.22) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.22) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.22) lib/action_view/template.rb:143:in `render' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.22) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.22) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.22) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.22) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.22) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__2053467345136343276__process_action__4576552356871227611__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__3226953422411312611__call__2463282967415780427__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/_trace.erb (0.9ms) 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/_request_and_response.erb (0.6ms) 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/template_error.erb within rescues/layout (5.1ms) Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (256.7ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (248.1ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.4ms) 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.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.2ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")  (1.4ms) 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")  (12.5ms) 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.4ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number")  (3.1ms) 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.4ms) 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")  (1.3ms) 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 ('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"  (238.3ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.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")  (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.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")  (3.8ms) 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.3ms) 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.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.2ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")  (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 ('20150218171852')  (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.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') Started GET "/" for 127.0.0.1 at 2015-07-14 08:55:56 -0400 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 (0.6ms) Started GET "/admin/features" for 127.0.0.1 at 2015-07-14 08:56:09 -0400 ActionController::RoutingError (No route matches [GET] "/admin/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 (0.7ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-14 08:56:15 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.4ms) 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/application (31.2ms) Completed 500 Internal Server Error in 33.8ms ActionView::Template::Error (undefined local variable or method `green_flag_admin_features_path' for #<#:0x007fe493c8c998>): 2: <%= stylesheet_link_tag 'green_flag/admin/features' %> 3: 4: <%= content_for(:above_content) do %> 5:

<%= link_to 'Feature Flags', green_flag_admin_features_path %>

6: <% end %> 7: 8:
/Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb:5:in `block in ___sers_tim_src_green_flag_app_views_green_flag_admin_features_index_html_erb__3087852543108892101_70309852473060' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:40:in `capture' actionpack (3.2.22) lib/action_view/helpers/capture_helper.rb:138:in `content_for' /Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb:4:in `___sers_tim_src_green_flag_app_views_green_flag_admin_features_index_html_erb__3087852543108892101_70309852473060' actionpack (3.2.22) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.22) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.22) lib/action_view/template.rb:143:in `render' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.22) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.22) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.22) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.22) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.22) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__2053467345136343276__process_action__4576552356871227611__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__3226953422411312611__call__2463282967415780427__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/_trace.erb (1.4ms) 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/_request_and_response.erb (0.8ms) 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/template_error.erb within rescues/layout (8.2ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-14 08:57:04 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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/application (3.3ms) Compiled application.css (0ms) (pid 42525) Compiled jquery.js (3ms) (pid 42525) Compiled jquery_ujs.js (0ms) (pid 42525) Compiled application.js (13ms) (pid 42525) Completed 200 OK in 55.5ms (Views: 54.6ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-14 08:57:04 -0400 Served asset /application.css - 200 OK (2ms) Started GET "/assets/green_flag/admin/features.css" for 127.0.0.1 at 2015-07-14 08:57:04 -0400 Served asset /green_flag/admin/features.css - 404 Not Found (1ms) ActionController::RoutingError (No route matches [GET] "/assets/green_flag/admin/features.css"): 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.4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-14 08:57:04 -0400 Served asset /jquery.js - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-14 08:57:04 -0400 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-14 08:57:04 -0400 Served asset /application.js - 200 OK (21ms) Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (261.6ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (320.9ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (7.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.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.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.0ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")  (4.6ms) 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.3ms) 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.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")  (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.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (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.4ms) 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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (119.1ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (232.9ms) 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.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.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.3ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")  (0.9ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")  (4.0ms) 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.3ms) 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.2ms) 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")  (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 ('20150218171852')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602')  (0.4ms) 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.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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (117.4ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (241.3ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (6.5ms) 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")  (3.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")  (4.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.3ms) 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.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")  (0.9ms) 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.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511045110')  (0.3ms) 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.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') Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (255.4ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (236.0ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (6.6ms) 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")  (3.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.3ms) 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.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")  (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.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.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.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")  (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.4ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (0.4ms) 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.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')  (0.4ms) 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.4ms) 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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (117.5ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (239.0ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (6.5ms) 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.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.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.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.2ms) 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")  (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 ('20150218171852')  (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.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.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Connecting to database specified by database.yml  (2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (388.8ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (347.7ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (13.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.4ms) CREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id")  (3.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.1ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")  (4.9ms) 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.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.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.0ms) 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.3ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")  (1.3ms) 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.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (0.9ms) 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.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')  (0.4ms) 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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (118.6ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (236.6ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (6.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")  (3.3ms) 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.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")  (2.9ms) 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.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.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")  (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.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (0.5ms) 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.4ms) 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.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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (119.2ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (237.6ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.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.7ms) 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.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.6ms) 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.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.0ms) 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")  (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 ('20150218171852')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602')  (0.5ms) 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.4ms) 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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (121.0ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (235.4ms) 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.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.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")  (4.6ms) 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.9ms) 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.6ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number")  (1.2ms) 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")  (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.4ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (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.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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (119.5ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (236.1ms) 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.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.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.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.4ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")  (72.2ms) 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.8ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number")  (2.0ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number")  (4.8ms) 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.3ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id")  (1.4ms) CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")  (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.4ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602')  (0.4ms) 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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')  (0.4ms) 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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (120.0ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (238.7ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.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.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")  (5.9ms) 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.9ms) 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.2ms) 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")  (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.4ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (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.4ms) 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.4ms) 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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (120.0ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (236.5ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.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.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.6ms) 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.2ms) 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")  (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 ('20150218171852')  (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.5ms) 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.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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035000')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (118.9ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (233.7ms) 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.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.3ms) 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.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.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.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.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")  (1.1ms) 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.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140502112602')  (0.4ms) 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.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')  (0.4ms) 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.4ms) 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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (119.4ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (238.0ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.2ms) 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.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.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.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.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.5ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number")  (1.2ms) 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")  (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.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852')  (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.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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805') Started GET "/" for 127.0.0.1 at 2015-07-26 13:35:33 -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.4ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 13:35:41 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (2.2ms) 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/application (3.3ms) Completed 200 OK in 29.6ms (Views: 23.5ms | ActiveRecord: 4.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 13:35:41 -0400 Served asset /application.css - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 13:35:41 -0400 Served asset /jquery.js - 200 OK (1ms) Started GET "/assets/green_flag/admin/features.css" for 127.0.0.1 at 2015-07-26 13:35:41 -0400 Served asset /green_flag/admin/features.css - 404 Not Found (1ms) ActionController::RoutingError (No route matches [GET] "/assets/green_flag/admin/features.css"): 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 "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 13:35:41 -0400 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 13:35:41 -0400 Served asset /application.js - 200 OK (2ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 13:35:43 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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/application (2.0ms) Completed 200 OK in 5.0ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/admin/features.css" for 127.0.0.1 at 2015-07-26 13:35:43 -0400 Served asset /green_flag/admin/features.css - 404 Not Found (1ms) ActionController::RoutingError (No route matches [GET] "/assets/green_flag/admin/features.css"): 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/admin/features" for 127.0.0.1 at 2015-07-26 13:36:05 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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/application (2.5ms) Completed 200 OK in 5.8ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 13:36:05 -0400 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 13:36:05 -0400 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 13:36:05 -0400 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/admin/features.css" for 127.0.0.1 at 2015-07-26 13:36:05 -0400 Served asset /admin/features.css - 404 Not Found (1ms) ActionController::RoutingError (No route matches [GET] "/assets/admin/features.css"): 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 "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 13:36:05 -0400 Served asset /application.js - 304 Not Modified (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 13:39:04 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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/application (2.7ms) Completed 200 OK in 6.1ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 13:39:04 -0400 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 13:39:04 -0400 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 13:39:04 -0400 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 13:39:04 -0400 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/features.css" for 127.0.0.1 at 2015-07-26 13:39:04 -0400 Served asset /green_flag/admin/features.css - 404 Not Found (1ms) ActionController::RoutingError (No route matches [GET] "/assets/green_flag/admin/features.css"): 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/admin/features" for 127.0.0.1 at 2015-07-26 13:39:18 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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/application (2.4ms) Completed 200 OK in 5.6ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 13:39:19 -0400 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 13:39:19 -0400 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/admin/features.css" for 127.0.0.1 at 2015-07-26 13:39:19 -0400 Served asset /admin/features.css - 404 Not Found (1ms) ActionController::RoutingError (No route matches [GET] "/assets/admin/features.css"): 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.4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 13:39:19 -0400 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 13:39:19 -0400 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 13:39:23 -0400 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/admin/features.css" for 127.0.0.1 at 2015-07-26 13:39:23 -0400 Served asset /admin/features.css - 404 Not Found (1ms) ActionController::RoutingError (No route matches [GET] "/assets/admin/features.css"): 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.4ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 13:39:41 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.4ms) 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/application (2.9ms) Completed 200 OK in 6.2ms (Views: 5.3ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 13:39:41 -0400 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 13:39:41 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 13:39:41 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 13:39:41 -0400 Served asset /application.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css" for 127.0.0.1 at 2015-07-26 13:39:41 -0400 Served asset /green_flag/admin/features.css - 404 Not Found (1ms) ActionController::RoutingError (No route matches [GET] "/assets/green_flag/admin/features.css"): 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.4ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 13:40:38 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.4ms) 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/application (5.0ms) Completed 500 Internal Server Error in 7.6ms ActionView::Template::Error (cannot load such file -- sass (in /Users/tim/src/green_flag/app/assets/stylesheets/green_flag/admin/features.css.scss)): 1: <%= stylesheet_link_tag '//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css' %> 2: <%= stylesheet_link_tag 'green_flag/admin/features' %> 3: 4:

<%= link_to 'Feature Flags', admin_features_path %>

5: activesupport (3.2.22) lib/active_support/dependencies.rb:251:in `require' activesupport (3.2.22) lib/active_support/dependencies.rb:251:in `block in require' activesupport (3.2.22) lib/active_support/dependencies.rb:236:in `load_dependency' activesupport (3.2.22) lib/active_support/dependencies.rb:251:in `require' tilt (1.4.1) lib/tilt/template.rb:144:in `require_template_library' tilt (1.4.1) lib/tilt/css.rb:16:in `initialize_engine' tilt (1.4.1) lib/tilt/template.rb:56:in `initialize' sprockets (2.2.3) lib/sprockets/context.rb:192:in `new' sprockets (2.2.3) lib/sprockets/context.rb:192:in `block in evaluate' sprockets (2.2.3) lib/sprockets/context.rb:190:in `each' sprockets (2.2.3) lib/sprockets/context.rb:190:in `evaluate' sprockets (2.2.3) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.2.3) lib/sprockets/base.rb:249:in `new' sprockets (2.2.3) lib/sprockets/base.rb:249:in `block in build_asset' sprockets (2.2.3) lib/sprockets/base.rb:270:in `circular_call_protection' sprockets (2.2.3) lib/sprockets/base.rb:248:in `build_asset' sprockets (2.2.3) lib/sprockets/index.rb:93:in `block in build_asset' sprockets (2.2.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.2.3) lib/sprockets/index.rb:92:in `build_asset' sprockets (2.2.3) lib/sprockets/base.rb:169:in `find_asset' sprockets (2.2.3) lib/sprockets/index.rb:60:in `find_asset' sprockets (2.2.3) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.2.3) lib/sprockets/base.rb:252:in `new' sprockets (2.2.3) lib/sprockets/base.rb:252:in `build_asset' sprockets (2.2.3) lib/sprockets/index.rb:93:in `block in build_asset' sprockets (2.2.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.2.3) lib/sprockets/index.rb:92:in `build_asset' sprockets (2.2.3) lib/sprockets/base.rb:169:in `find_asset' sprockets (2.2.3) lib/sprockets/index.rb:60:in `find_asset' sprockets (2.2.3) lib/sprockets/environment.rb:78:in `find_asset' sprockets (2.2.3) lib/sprockets/base.rb:177:in `[]' actionpack (3.2.22) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for' actionpack (3.2.22) lib/sprockets/helpers/rails_helper.rb:44:in `block in stylesheet_link_tag' actionpack (3.2.22) lib/sprockets/helpers/rails_helper.rb:43:in `collect' actionpack (3.2.22) lib/sprockets/helpers/rails_helper.rb:43:in `stylesheet_link_tag' /Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb:2:in `___sers_tim_src_green_flag_app_views_green_flag_admin_features_index_html_erb___4237608733258749438_70258337515840' actionpack (3.2.22) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.22) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.22) lib/action_view/template.rb:143:in `render' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' actionpack (3.2.22) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.22) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.22) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.22) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.22) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__2681489151502222421__process_action__2741305618528401075__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__1421459030989441544__call__917882793957349181__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/_trace.erb (1.4ms) 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/_request_and_response.erb (0.9ms) 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/template_error.erb within rescues/layout (9.5ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 13:41:58 -0400 Connecting to database specified by database.yml Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.5ms) SELECT "green_flag_features".* FROM "green_flag_features"  Compiled green_flag/admin/features.css (217ms) (pid 48466) Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb within layouts/application (255.6ms) Completed 200 OK in 297.5ms (Views: 293.7ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 13:41:59 -0400 Served asset /application.css - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 13:41:59 -0400 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 13:41:59 -0400 Served asset /jquery.js - 200 OK (29ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 13:41:59 -0400 Served asset /green_flag/admin/features.css - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 13:41:59 -0400 Served asset /application.js - 200 OK (2ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 13:42:14 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.6ms) 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/application (1.0ms) Completed 200 OK in 5.1ms (Views: 3.6ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 13:42:14 -0400 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 13:42:14 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 13:42:14 -0400 Served asset /application.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 13:42:14 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 13:42:14 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 13:58:32 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.4ms) 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/application (1.4ms) Completed 200 OK in 4.7ms (Views: 3.7ms | ActiveRecord: 0.4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 13:58:32 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 13:58:32 -0400 Served asset /application.css - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 13:58:32 -0400 Served asset /application.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 13:58:32 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 13:58:32 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:00:27 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.4ms) 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/application (0.7ms) Completed 200 OK in 4.5ms (Views: 3.5ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:00:27 -0400 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:00:27 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:00:27 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:00:27 -0400 Served asset /application.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:00:55 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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/application (0.2ms) Completed 200 OK in 33.5ms (Views: 32.5ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:00:55 -0400 Served asset /application.css - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:00:55 -0400 Served asset /application.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:00:55 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:00:55 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:00:56 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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/application (0.3ms) Completed 200 OK in 3.5ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:00:56 -0400 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:00:56 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:00:56 -0400 Served asset /application.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:00:57 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:01:26 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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/application (0.3ms) Completed 200 OK in 3.6ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:01:26 -0400 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:01:26 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:01:26 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:01:26 -0400 Served asset /application.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:01:32 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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/application (0.2ms) Completed 200 OK in 3.1ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:01:32 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:01:32 -0400 Served asset /application.css - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:01:32 -0400 Served asset /application.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:01:32 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:01:59 -0400 Connecting to database specified by database.yml Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.6ms) 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/application (1.3ms) Completed 200 OK in 49.7ms (Views: 45.7ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:01:59 -0400 Served asset /application.css - 200 OK (7ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:01:59 -0400 Served asset /application.js - 200 OK (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:01:59 -0400 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:01:59 -0400 Served asset /jquery.js - 200 OK (26ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:04:49 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.2ms) 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/application (0.4ms) Completed 200 OK in 6.0ms (Views: 3.7ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:04:49 -0400 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:04:49 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:04:49 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:04:49 -0400 Served asset /application.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:05:34 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.2ms) 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 (0.3ms) Compiled green_flag/admin/rules.css (180ms) (pid 48910) Compiled green_flag/application.css (185ms) (pid 48910) Completed 500 Internal Server Error in 233.2ms ActionView::Template::Error (couldn't find file 'bootstrap' (in /Users/tim/src/green_flag/app/assets/javascripts/green_flag/admin/features.js:4)): 6: <%= stylesheet_link_tag '//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css' %> 7: <%= stylesheet_link_tag 'green_flag/admin/features' %> 8: 9: <%= javascript_include_tag "green_flag/application" %> 10: <%= csrf_meta_tags %> 11: 12: sprockets (2.2.3) lib/sprockets/context.rb:102:in `resolve' sprockets (2.2.3) lib/sprockets/context.rb:142:in `require_asset' sprockets (2.2.3) lib/sprockets/directive_processor.rb:215:in `process_require_directive' sprockets (2.2.3) lib/sprockets/directive_processor.rb:165:in `block in process_directives' sprockets (2.2.3) lib/sprockets/directive_processor.rb:163:in `each' sprockets (2.2.3) lib/sprockets/directive_processor.rb:163:in `process_directives' sprockets (2.2.3) lib/sprockets/directive_processor.rb:97:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.2.3) lib/sprockets/context.rb:193:in `block in evaluate' sprockets (2.2.3) lib/sprockets/context.rb:190:in `each' sprockets (2.2.3) lib/sprockets/context.rb:190:in `evaluate' sprockets (2.2.3) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.2.3) lib/sprockets/base.rb:249:in `new' sprockets (2.2.3) lib/sprockets/base.rb:249:in `block in build_asset' sprockets (2.2.3) lib/sprockets/base.rb:270:in `circular_call_protection' sprockets (2.2.3) lib/sprockets/base.rb:248:in `build_asset' sprockets (2.2.3) lib/sprockets/index.rb:93:in `block in build_asset' sprockets (2.2.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.2.3) lib/sprockets/index.rb:92:in `build_asset' sprockets (2.2.3) lib/sprockets/base.rb:169:in `find_asset' sprockets (2.2.3) lib/sprockets/index.rb:60:in `find_asset' sprockets (2.2.3) lib/sprockets/processed_asset.rb:111:in `block in resolve_dependencies' sprockets (2.2.3) lib/sprockets/processed_asset.rb:105:in `each' sprockets (2.2.3) lib/sprockets/processed_asset.rb:105:in `resolve_dependencies' sprockets (2.2.3) lib/sprockets/processed_asset.rb:97:in `build_required_assets' sprockets (2.2.3) lib/sprockets/processed_asset.rb:16:in `initialize' sprockets (2.2.3) lib/sprockets/base.rb:249:in `new' sprockets (2.2.3) lib/sprockets/base.rb:249:in `block in build_asset' sprockets (2.2.3) lib/sprockets/base.rb:270:in `circular_call_protection' sprockets (2.2.3) lib/sprockets/base.rb:248:in `build_asset' sprockets (2.2.3) lib/sprockets/index.rb:93:in `block in build_asset' sprockets (2.2.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.2.3) lib/sprockets/index.rb:92:in `build_asset' sprockets (2.2.3) lib/sprockets/base.rb:169:in `find_asset' sprockets (2.2.3) lib/sprockets/index.rb:60:in `find_asset' sprockets (2.2.3) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.2.3) lib/sprockets/base.rb:252:in `new' sprockets (2.2.3) lib/sprockets/base.rb:252:in `build_asset' sprockets (2.2.3) lib/sprockets/index.rb:93:in `block in build_asset' sprockets (2.2.3) lib/sprockets/caching.rb:19:in `cache_asset' sprockets (2.2.3) lib/sprockets/index.rb:92:in `build_asset' sprockets (2.2.3) lib/sprockets/base.rb:169:in `find_asset' sprockets (2.2.3) lib/sprockets/index.rb:60:in `find_asset' sprockets (2.2.3) lib/sprockets/environment.rb:78:in `find_asset' sprockets (2.2.3) lib/sprockets/base.rb:177:in `[]' actionpack (3.2.22) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for' actionpack (3.2.22) lib/sprockets/helpers/rails_helper.rb:27:in `block in javascript_include_tag' actionpack (3.2.22) lib/sprockets/helpers/rails_helper.rb:26:in `collect' actionpack (3.2.22) lib/sprockets/helpers/rails_helper.rb:26:in `javascript_include_tag' /Users/tim/src/green_flag/app/views/layouts/green_flag/application.html.erb:9:in `___sers_tim_src_green_flag_app_views_layouts_green_flag_application_html_erb___3533724547543484086_70188723467840' actionpack (3.2.22) lib/action_view/template.rb:145:in `block in render' activesupport (3.2.22) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.22) lib/action_view/template.rb:143:in `render' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:45:in `render_template' actionpack (3.2.22) lib/action_view/renderer/template_renderer.rb:18:in `render' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.22) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.22) lib/abstract_controller/rendering.rb:110:in `_render_template' actionpack (3.2.22) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.22) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.22) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.22) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (3.2.22) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__2756067373237414146__process_action__2629440079028853643__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (1.4ms) 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/_request_and_response.erb (0.9ms) 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/template_error.erb within rescues/layout (7.5ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:40:50 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.4ms) 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 (0.3ms) Compiled green_flag/admin/features.js (0ms) (pid 48910) Compiled green_flag/admin/rules.js (0ms) (pid 48910) Compiled green_flag/application.js (10ms) (pid 48910) Completed 200 OK in 52.7ms (Views: 51.7ms | ActiveRecord: 0.4ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:40:51 -0400 Served asset /green_flag/application.css - 200 OK (9ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 14:40:51 -0400 Served asset /green_flag/admin/features.css - 200 OK (1ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 14:40:51 -0400 Served asset /green_flag/admin/rules.css - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:40:51 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:40:51 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 14:40:51 -0400 Served asset /green_flag/admin/features.js - 200 OK (1ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 14:40:51 -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-07-26 14:40:51 -0400 Served asset /green_flag/application.js - 200 OK (4ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:42:13 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.4ms) 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 (0.4ms) Completed 200 OK in 5.7ms (Views: 4.7ms | ActiveRecord: 0.4ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:42:13 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 14:42:13 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 14:42:13 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:42:13 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 14:42:13 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:42:13 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 14:42:13 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:42:13 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:42:31 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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 (0.3ms) Completed 200 OK in 5.1ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:42:31 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 14:42:31 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 14:42:31 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 14:42:31 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:42:31 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:42:31 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 14:42:31 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:42:31 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:43:10 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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 (0.3ms) Completed 200 OK in 7.2ms (Views: 6.3ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:43:10 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 14:43:10 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 14:43:10 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:10 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:10 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:10 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:10 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:10 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:43:42 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.4ms) 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 (0.3ms) Completed 200 OK in 4.8ms (Views: 3.8ms | ActiveRecord: 0.4ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 14:43:42 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:43:42 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 14:43:42 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:42 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:42 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:42 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:42 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:42 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:43:45 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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 (0.2ms) Completed 200 OK in 4.6ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:43:45 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 14:43:45 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 14:43:45 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:45 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:45 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:45 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:45 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:43:45 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:45:08 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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 (0.3ms) Completed 200 OK in 5.2ms (Views: 4.3ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:45:08 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 14:45:08 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 14:45:08 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:45:08 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:45:08 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 14:45:08 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:45:08 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 14:45:08 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:45:10 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.4ms) 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 (0.5ms) Completed 200 OK in 7.8ms (Views: 6.7ms | ActiveRecord: 0.4ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:45:10 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 14:45:10 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 14:45:10 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 14:45:10 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:45:10 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:45:10 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 14:45:10 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:45:10 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Connecting to database specified by database.yml Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:46:14 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.4ms) 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 (0.5ms) Completed 200 OK in 8.8ms (Views: 4.2ms | ActiveRecord: 0.4ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:46:14 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:14 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:14 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 14:46:14 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 14:46:14 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:14 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:14 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:14 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:46:20 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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 (0.4ms) Completed 200 OK in 39.6ms (Views: 38.5ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:46:20 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 14:46:20 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 14:46:20 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:20 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:20 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:20 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:20 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:20 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/1" for 127.0.0.1 at 2015-07-26 14:46:43 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"1"} GreenFlag::Feature Load (1.0ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (5.3ms) Completed 200 OK in 13.3ms (Views: 9.1ms | ActiveRecord: 1.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:46:43 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 14:46:43 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 14:46:43 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:43 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:43 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:43 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:43 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:46:43 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/1/rule_list" for 127.0.0.1 at 2015-07-26 14:46:43 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.5ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] GreenFlag::Rule Load (2.2ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 1 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 73.3ms (Views: 0.1ms | ActiveRecord: 7.9ms) Started GET "/green_flag/admin/features/1/white_list_users" for 127.0.0.1 at 2015-07-26 14:46:43 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"1"} Completed 500 Internal Server Error in 23.3ms NameError (uninitialized constant GreenFlag::SiteVisitor::User): activerecord (3.2.22) lib/active_record/inheritance.rb:111:in `compute_type' activerecord (3.2.22) lib/active_record/reflection.rb:172:in `klass' activerecord (3.2.22) lib/active_record/associations/join_dependency/join_association.rb:40:in `initialize' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `new' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `build_join_association' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:115:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:128:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:123:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:18:in `initialize' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `new' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `build_joins' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:266:in `build_arel' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:260:in `arel' activerecord (3.2.22) lib/active_record/relation.rb:171:in `exec_queries' activerecord (3.2.22) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.22) lib/active_record/explain.rb:34:in `logging_query_plan' activerecord (3.2.22) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.22) lib/active_record/relation/finder_methods.rb:159:in `all' /Users/tim/src/green_flag/app/models/green_flag/feature_decision.rb:60:in `whitelisted_users' /Users/tim/src/green_flag/app/controllers/green_flag/admin/white_list_users_controller.rb:5:in `index' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__567217175110051170__process_action__2629440079028853643__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (1.2ms) 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/_request_and_response.erb (0.8ms) 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/diagnostics.erb within rescues/layout (7.2ms) Started GET "/green_flag/admin/features/1/current_visitor_status" for 127.0.0.1 at 2015-07-26 14:46:43 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 30.1ms NameError (undefined local variable or method `current_site_visitor' for #): /Users/tim/src/green_flag/app/controllers/green_flag/admin/features_controller.rb:16:in `current_visitor_status' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__2756067373237414146__process_action__3245532733737548060__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.8ms) 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/_request_and_response.erb (0.7ms) 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/diagnostics.erb within rescues/layout (7.6ms) Started GET "/green_flag/admin/features/1/feature_decision_summary" for 127.0.0.1 at 2015-07-26 14:46:43 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]]  (1.5ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 't'  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 7.9ms (Views: 0.2ms | ActiveRecord: 2.2ms) Started GET "/green_flag/admin/features/1/rule_list" for 127.0.0.1 at 2015-07-26 14:46:55 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] GreenFlag::Rule Load (0.4ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 1 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 2.2ms (Views: 0.1ms | ActiveRecord: 0.8ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 14:58:17 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.4ms) 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 (0.5ms) Completed 200 OK in 5.5ms (Views: 4.5ms | ActiveRecord: 0.4ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:58:17 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:58:17 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 14:58:17 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:58:17 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 14:58:17 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 14:58:17 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 14:58:17 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:58:17 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/1" for 127.0.0.1 at 2015-07-26 14:58:22 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.1ms) Completed 200 OK in 5.7ms (Views: 4.4ms | ActiveRecord: 0.4ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 14:58:23 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 14:58:23 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 14:58:23 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 14:58:23 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 14:58:23 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 14:58:23 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 14:58:23 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 14:58:23 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/1/rule_list" for 127.0.0.1 at 2015-07-26 14:58:23 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] GreenFlag::Rule Load (2.1ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 1 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 3.9ms (Views: 0.1ms | ActiveRecord: 2.3ms) Started GET "/green_flag/admin/features/1/white_list_users" for 127.0.0.1 at 2015-07-26 14:58:23 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"1"} Completed 500 Internal Server Error in 2.9ms NameError (uninitialized constant GreenFlag::SiteVisitor::User): activerecord (3.2.22) lib/active_record/inheritance.rb:111:in `compute_type' activerecord (3.2.22) lib/active_record/reflection.rb:172:in `klass' activerecord (3.2.22) lib/active_record/associations/join_dependency/join_association.rb:40:in `initialize' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `new' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `build_join_association' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:115:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:128:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:123:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:18:in `initialize' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `new' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `build_joins' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:266:in `build_arel' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:260:in `arel' activerecord (3.2.22) lib/active_record/relation.rb:171:in `exec_queries' activerecord (3.2.22) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.22) lib/active_record/explain.rb:34:in `logging_query_plan' activerecord (3.2.22) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.22) lib/active_record/relation/finder_methods.rb:159:in `all' /Users/tim/src/green_flag/app/models/green_flag/feature_decision.rb:60:in `whitelisted_users' /Users/tim/src/green_flag/app/controllers/green_flag/admin/white_list_users_controller.rb:5:in `index' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__567217175110051170__process_action__2629440079028853643__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.9ms) 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/_request_and_response.erb (0.7ms) 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/diagnostics.erb within rescues/layout (5.6ms) Started GET "/green_flag/admin/features/1/current_visitor_status" for 127.0.0.1 at 2015-07-26 14:58:23 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.9ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 6.8ms NameError (undefined local variable or method `current_site_visitor' for #): /Users/tim/src/green_flag/app/controllers/green_flag/admin/features_controller.rb:16:in `current_visitor_status' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__2756067373237414146__process_action__3245532733737548060__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.9ms) 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/_request_and_response.erb (0.8ms) 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/diagnostics.erb within rescues/layout (8.7ms) Started GET "/green_flag/admin/features/1/feature_decision_summary" for 127.0.0.1 at 2015-07-26 14:58:23 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]]  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 't'  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 3.9ms (Views: 0.2ms | ActiveRecord: 1.1ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 15:31:24 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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 (0.9ms) Completed 200 OK in 6.1ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:31:24 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:31:24 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:31:24 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:31:24 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:31:24 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:31:24 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:31:24 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:31:24 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 15:31:41 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.4ms) 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 (0.8ms) Completed 200 OK in 5.7ms (Views: 4.7ms | ActiveRecord: 0.4ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:31:41 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:31:41 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:31:41 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:31:41 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:31:41 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:31:41 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:31:41 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:31:41 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 15:34:56 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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 (0.9ms) Completed 200 OK in 6.0ms (Views: 4.9ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:34:56 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:34:56 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:34:56 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:34:56 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:34:56 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:34:56 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:34:56 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:34:56 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 15:36:48 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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.0ms) Completed 200 OK in 5.6ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:36:48 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:36:48 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:36:48 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:36:48 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:36:48 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:36:48 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:36:48 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:36:48 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 15:37:03 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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 (0.7ms) Completed 200 OK in 5.2ms (Views: 4.2ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:37:03 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:37:03 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:37:03 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:37:03 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:37:03 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:37:03 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:37:03 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:37:03 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 15:37:14 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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.0ms) Completed 200 OK in 5.5ms (Views: 4.5ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:37:14 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:37:14 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:37:14 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:37:14 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:37:14 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:37:14 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:37:14 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:37:14 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/1" for 127.0.0.1 at 2015-07-26 15:39:07 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.1ms) Completed 200 OK in 5.5ms (Views: 4.4ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:39:07 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:39:07 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:39:07 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:39:07 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:39:07 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:39:07 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:39:07 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:39:07 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/1/rule_list" for 127.0.0.1 at 2015-07-26 15:39:07 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] GreenFlag::Rule Load (4.1ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 1 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 6.2ms (Views: 0.1ms | ActiveRecord: 4.5ms) Started GET "/green_flag/admin/features/1/white_list_users" for 127.0.0.1 at 2015-07-26 15:39:07 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"1"} Completed 500 Internal Server Error in 2.8ms NameError (uninitialized constant GreenFlag::SiteVisitor::User): activerecord (3.2.22) lib/active_record/inheritance.rb:111:in `compute_type' activerecord (3.2.22) lib/active_record/reflection.rb:172:in `klass' activerecord (3.2.22) lib/active_record/associations/join_dependency/join_association.rb:40:in `initialize' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `new' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `build_join_association' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:115:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:128:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:123:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:18:in `initialize' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `new' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `build_joins' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:266:in `build_arel' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:260:in `arel' activerecord (3.2.22) lib/active_record/relation.rb:171:in `exec_queries' activerecord (3.2.22) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.22) lib/active_record/explain.rb:34:in `logging_query_plan' activerecord (3.2.22) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.22) lib/active_record/relation/finder_methods.rb:159:in `all' /Users/tim/src/green_flag/app/models/green_flag/feature_decision.rb:60:in `whitelisted_users' /Users/tim/src/green_flag/app/controllers/green_flag/admin/white_list_users_controller.rb:5:in `index' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__567217175110051170__process_action__2629440079028853643__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.9ms) 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/_request_and_response.erb (0.8ms) 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/diagnostics.erb within rescues/layout (6.6ms) Started GET "/green_flag/admin/features/1/current_visitor_status" for 127.0.0.1 at 2015-07-26 15:39:07 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 6.2ms NameError (undefined local variable or method `current_site_visitor' for #): /Users/tim/src/green_flag/app/controllers/green_flag/admin/features_controller.rb:16:in `current_visitor_status' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__2756067373237414146__process_action__3245532733737548060__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (1.4ms) 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/_request_and_response.erb (0.7ms) 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/diagnostics.erb within rescues/layout (47.5ms) Started GET "/green_flag/admin/features/1/feature_decision_summary" for 127.0.0.1 at 2015-07-26 15:39:07 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]]  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 't'  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 3.8ms (Views: 0.2ms | ActiveRecord: 1.1ms) Started GET "/green_flag/admin/features/1" for 127.0.0.1 at 2015-07-26 15:42:09 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (2.0ms) Compiled green_flag/admin/features.css (8ms) (pid 48910) Compiled green_flag/application.css (0ms) (pid 48910) Completed 200 OK in 44.4ms (Views: 42.6ms | ActiveRecord: 0.4ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:42:09 -0400 Served asset /green_flag/application.css - 200 OK (8ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:42:09 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:42:09 -0400 Served asset /green_flag/admin/features.css - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:42:09 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:42:09 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:42:09 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:42:09 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:42:09 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/1/rule_list" for 127.0.0.1 at 2015-07-26 15:42:10 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] GreenFlag::Rule Load (3.4ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 1 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 5.9ms (Views: 0.1ms | ActiveRecord: 3.8ms) Started GET "/green_flag/admin/features/1/white_list_users" for 127.0.0.1 at 2015-07-26 15:42:10 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"1"} Completed 500 Internal Server Error in 2.7ms NameError (uninitialized constant GreenFlag::SiteVisitor::User): activerecord (3.2.22) lib/active_record/inheritance.rb:111:in `compute_type' activerecord (3.2.22) lib/active_record/reflection.rb:172:in `klass' activerecord (3.2.22) lib/active_record/associations/join_dependency/join_association.rb:40:in `initialize' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `new' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `build_join_association' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:115:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:128:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:123:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:18:in `initialize' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `new' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `build_joins' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:266:in `build_arel' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:260:in `arel' activerecord (3.2.22) lib/active_record/relation.rb:171:in `exec_queries' activerecord (3.2.22) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.22) lib/active_record/explain.rb:34:in `logging_query_plan' activerecord (3.2.22) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.22) lib/active_record/relation/finder_methods.rb:159:in `all' /Users/tim/src/green_flag/app/models/green_flag/feature_decision.rb:60:in `whitelisted_users' /Users/tim/src/green_flag/app/controllers/green_flag/admin/white_list_users_controller.rb:5:in `index' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__567217175110051170__process_action__2629440079028853643__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.9ms) 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/_request_and_response.erb (0.8ms) 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/diagnostics.erb within rescues/layout (5.7ms) Started GET "/green_flag/admin/features/1/current_visitor_status" for 127.0.0.1 at 2015-07-26 15:42:10 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 41.1ms NameError (undefined local variable or method `current_site_visitor' for #): /Users/tim/src/green_flag/app/controllers/green_flag/admin/features_controller.rb:16:in `current_visitor_status' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__2756067373237414146__process_action__3245532733737548060__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.8ms) 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/_request_and_response.erb (0.7ms) 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/diagnostics.erb within rescues/layout (8.2ms) Started GET "/green_flag/admin/features/1/feature_decision_summary" for 127.0.0.1 at 2015-07-26 15:42:10 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]]  (0.5ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 't'  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 4.2ms (Views: 0.2ms | ActiveRecord: 1.2ms) Started GET "/green_flag/admin/features/1" for 127.0.0.1 at 2015-07-26 15:42:44 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.1ms) Compiled green_flag/admin/features.css (4ms) (pid 48910) Compiled green_flag/application.css (0ms) (pid 48910) Completed 200 OK in 20.8ms (Views: 19.4ms | ActiveRecord: 0.4ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:42:44 -0400 Served asset /green_flag/application.css - 200 OK (8ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:42:44 -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-07-26 15:42:44 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:42:44 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:42:44 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:42:44 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:42:44 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:42:44 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/1/rule_list" for 127.0.0.1 at 2015-07-26 15:42:44 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (1.9ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] GreenFlag::Rule Load (1.7ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 1 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 5.4ms (Views: 0.1ms | ActiveRecord: 3.6ms) Started GET "/green_flag/admin/features/1/white_list_users" for 127.0.0.1 at 2015-07-26 15:42:44 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"1"} Completed 500 Internal Server Error in 41.2ms NameError (uninitialized constant GreenFlag::SiteVisitor::User): activerecord (3.2.22) lib/active_record/inheritance.rb:111:in `compute_type' activerecord (3.2.22) lib/active_record/reflection.rb:172:in `klass' activerecord (3.2.22) lib/active_record/associations/join_dependency/join_association.rb:40:in `initialize' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `new' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `build_join_association' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:115:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:128:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:123:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:18:in `initialize' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `new' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `build_joins' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:266:in `build_arel' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:260:in `arel' activerecord (3.2.22) lib/active_record/relation.rb:171:in `exec_queries' activerecord (3.2.22) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.22) lib/active_record/explain.rb:34:in `logging_query_plan' activerecord (3.2.22) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.22) lib/active_record/relation/finder_methods.rb:159:in `all' /Users/tim/src/green_flag/app/models/green_flag/feature_decision.rb:60:in `whitelisted_users' /Users/tim/src/green_flag/app/controllers/green_flag/admin/white_list_users_controller.rb:5:in `index' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__567217175110051170__process_action__2629440079028853643__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.9ms) 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/_request_and_response.erb (1.2ms) 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/diagnostics.erb within rescues/layout (8.8ms) Started GET "/green_flag/admin/features/1/current_visitor_status" for 127.0.0.1 at 2015-07-26 15:42:44 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 3.7ms NameError (undefined local variable or method `current_site_visitor' for #): /Users/tim/src/green_flag/app/controllers/green_flag/admin/features_controller.rb:16:in `current_visitor_status' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__2756067373237414146__process_action__3245532733737548060__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.8ms) 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/_request_and_response.erb (0.7ms) 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/diagnostics.erb within rescues/layout (7.3ms) Started GET "/green_flag/admin/features/1/feature_decision_summary" for 127.0.0.1 at 2015-07-26 15:42:44 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]]  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 't'  (0.3ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 3.9ms (Views: 0.2ms | ActiveRecord: 1.1ms) Started GET "/green_flag/admin/features/1" for 127.0.0.1 at 2015-07-26 15:43:07 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.3ms) Completed 200 OK in 5.7ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:43:07 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:43:07 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:43:07 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:43:07 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:43:07 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:43:07 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:43:07 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:43:07 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/1/rule_list" for 127.0.0.1 at 2015-07-26 15:43:07 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] GreenFlag::Rule Load (32.0ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 1 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 34.6ms (Views: 0.1ms | ActiveRecord: 32.3ms) Started GET "/green_flag/admin/features/1/white_list_users" for 127.0.0.1 at 2015-07-26 15:43:07 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"1"} Completed 500 Internal Server Error in 3.2ms NameError (uninitialized constant GreenFlag::SiteVisitor::User): activerecord (3.2.22) lib/active_record/inheritance.rb:111:in `compute_type' activerecord (3.2.22) lib/active_record/reflection.rb:172:in `klass' activerecord (3.2.22) lib/active_record/associations/join_dependency/join_association.rb:40:in `initialize' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `new' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `build_join_association' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:115:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:128:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:123:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:18:in `initialize' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `new' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `build_joins' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:266:in `build_arel' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:260:in `arel' activerecord (3.2.22) lib/active_record/relation.rb:171:in `exec_queries' activerecord (3.2.22) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.22) lib/active_record/explain.rb:34:in `logging_query_plan' activerecord (3.2.22) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.22) lib/active_record/relation/finder_methods.rb:159:in `all' /Users/tim/src/green_flag/app/models/green_flag/feature_decision.rb:60:in `whitelisted_users' /Users/tim/src/green_flag/app/controllers/green_flag/admin/white_list_users_controller.rb:5:in `index' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__567217175110051170__process_action__2629440079028853643__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (1.0ms) 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/_request_and_response.erb (0.7ms) 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/diagnostics.erb within rescues/layout (9.0ms) Started GET "/green_flag/admin/features/1/feature_decision_summary" for 127.0.0.1 at 2015-07-26 15:43:07 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]]  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 't'  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 4.5ms (Views: 0.2ms | ActiveRecord: 1.2ms) Started GET "/green_flag/admin/features/1/current_visitor_status" for 127.0.0.1 at 2015-07-26 15:43:07 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.2ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 3.2ms NameError (undefined local variable or method `current_site_visitor' for #): /Users/tim/src/green_flag/app/controllers/green_flag/admin/features_controller.rb:16:in `current_visitor_status' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__2756067373237414146__process_action__3245532733737548060__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.8ms) 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/_request_and_response.erb (0.6ms) 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/diagnostics.erb within rescues/layout (7.4ms) Started GET "/green_flag/admin/features/1" for 127.0.0.1 at 2015-07-26 15:43:41 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.4ms) Compiled green_flag/admin/features.css (4ms) (pid 48910) Compiled green_flag/application.css (0ms) (pid 48910) Completed 200 OK in 51.2ms (Views: 49.9ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:43:41 -0400 Served asset /green_flag/application.css - 200 OK (9ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:43:41 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:43:41 -0400 Served asset /green_flag/admin/features.css - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:43:41 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:43:41 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:43:41 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:43:41 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:43:41 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/1/rule_list" for 127.0.0.1 at 2015-07-26 15:43:41 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] GreenFlag::Rule Load (1.7ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 1 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 4.0ms (Views: 0.1ms | ActiveRecord: 2.0ms) Started GET "/green_flag/admin/features/1/white_list_users" for 127.0.0.1 at 2015-07-26 15:43:41 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"1"} Completed 500 Internal Server Error in 2.6ms NameError (uninitialized constant GreenFlag::SiteVisitor::User): activerecord (3.2.22) lib/active_record/inheritance.rb:111:in `compute_type' activerecord (3.2.22) lib/active_record/reflection.rb:172:in `klass' activerecord (3.2.22) lib/active_record/associations/join_dependency/join_association.rb:40:in `initialize' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `new' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `build_join_association' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:115:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:128:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:123:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:18:in `initialize' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `new' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `build_joins' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:266:in `build_arel' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:260:in `arel' activerecord (3.2.22) lib/active_record/relation.rb:171:in `exec_queries' activerecord (3.2.22) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.22) lib/active_record/explain.rb:34:in `logging_query_plan' activerecord (3.2.22) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.22) lib/active_record/relation/finder_methods.rb:159:in `all' /Users/tim/src/green_flag/app/models/green_flag/feature_decision.rb:60:in `whitelisted_users' /Users/tim/src/green_flag/app/controllers/green_flag/admin/white_list_users_controller.rb:5:in `index' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__567217175110051170__process_action__2629440079028853643__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.8ms) 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/_request_and_response.erb (0.7ms) 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/diagnostics.erb within rescues/layout (5.4ms) Started GET "/green_flag/admin/features/1/current_visitor_status" for 127.0.0.1 at 2015-07-26 15:43:41 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 5.6ms NameError (undefined local variable or method `current_site_visitor' for #): /Users/tim/src/green_flag/app/controllers/green_flag/admin/features_controller.rb:16:in `current_visitor_status' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__2756067373237414146__process_action__3245532733737548060__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (1.5ms) 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/_request_and_response.erb (0.7ms) 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/diagnostics.erb within rescues/layout (40.5ms) Started GET "/green_flag/admin/features/1/feature_decision_summary" for 127.0.0.1 at 2015-07-26 15:43:41 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]]  (0.5ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 't'  (0.5ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 4.8ms (Views: 0.6ms | ActiveRecord: 1.3ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 15:44:21 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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.1ms) Completed 200 OK in 5.8ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:44:22 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:44:22 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:44:22 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:44:22 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:44:22 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:44:22 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:44:22 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:44:22 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/green_flag/admin/features/2" for 127.0.0.1 at 2015-07-26 15:46:43 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.5ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.0ms) Completed 200 OK in 6.1ms (Views: 4.4ms | ActiveRecord: 0.5ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:46:43 -0400 Served asset /green_flag/admin/features.css - 304 Not Modified (0ms) Started GET "/green_flag/admin/features/2/rule_list" for 127.0.0.1 at 2015-07-26 15:46:43 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::Rule Load (0.5ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 2 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 2.8ms (Views: 0.1ms | ActiveRecord: 0.9ms) Started GET "/green_flag/admin/features/2/white_list_users" for 127.0.0.1 at 2015-07-26 15:46:43 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"2"} Completed 500 Internal Server Error in 2.9ms NameError (uninitialized constant GreenFlag::SiteVisitor::User): activerecord (3.2.22) lib/active_record/inheritance.rb:111:in `compute_type' activerecord (3.2.22) lib/active_record/reflection.rb:172:in `klass' activerecord (3.2.22) lib/active_record/associations/join_dependency/join_association.rb:40:in `initialize' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `new' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `build_join_association' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:115:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:128:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:123:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:18:in `initialize' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `new' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `build_joins' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:266:in `build_arel' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:260:in `arel' activerecord (3.2.22) lib/active_record/relation.rb:171:in `exec_queries' activerecord (3.2.22) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.22) lib/active_record/explain.rb:34:in `logging_query_plan' activerecord (3.2.22) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.22) lib/active_record/relation/finder_methods.rb:159:in `all' /Users/tim/src/green_flag/app/models/green_flag/feature_decision.rb:60:in `whitelisted_users' /Users/tim/src/green_flag/app/controllers/green_flag/admin/white_list_users_controller.rb:5:in `index' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__567217175110051170__process_action__2629440079028853643__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.9ms) 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/_request_and_response.erb (0.7ms) 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/diagnostics.erb within rescues/layout (5.4ms) Started GET "/green_flag/admin/features/2/current_visitor_status" for 127.0.0.1 at 2015-07-26 15:46:43 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 3.7ms NameError (undefined local variable or method `current_site_visitor' for #): /Users/tim/src/green_flag/app/controllers/green_flag/admin/features_controller.rb:16:in `current_visitor_status' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__2756067373237414146__process_action__3245532733737548060__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.9ms) 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/_request_and_response.erb (0.7ms) 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/diagnostics.erb within rescues/layout (7.3ms) Started GET "/green_flag/admin/features/2/feature_decision_summary" for 127.0.0.1 at 2015-07-26 15:46:44 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]]  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 't'  (0.3ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 3.6ms (Views: 0.2ms | ActiveRecord: 1.0ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:47:07 -0400 Served asset /green_flag/application.css - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:47:07 -0400 Served asset /green_flag/admin/features.css - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:47:07 -0400 Served asset /green_flag/admin/rules.css - 304 Not Modified (0ms) Started GET "/green_flag/admin/features/2" for 127.0.0.1 at 2015-07-26 15:47:16 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.1ms) Completed 200 OK in 5.7ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:47:16 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:47:16 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:47:16 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:47:16 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:47:16 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:47:16 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:47:16 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:47:16 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/2/rule_list" for 127.0.0.1 at 2015-07-26 15:47:17 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (2.6ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::Rule Load (0.5ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 2 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 4.8ms (Views: 0.1ms | ActiveRecord: 3.1ms) Started GET "/green_flag/admin/features/2/white_list_users" for 127.0.0.1 at 2015-07-26 15:47:17 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"2"} Completed 500 Internal Server Error in 4.5ms NameError (uninitialized constant GreenFlag::SiteVisitor::User): activerecord (3.2.22) lib/active_record/inheritance.rb:111:in `compute_type' activerecord (3.2.22) lib/active_record/reflection.rb:172:in `klass' activerecord (3.2.22) lib/active_record/associations/join_dependency/join_association.rb:40:in `initialize' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `new' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `build_join_association' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:115:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:128:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:123:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:18:in `initialize' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `new' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `build_joins' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:266:in `build_arel' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:260:in `arel' activerecord (3.2.22) lib/active_record/relation.rb:171:in `exec_queries' activerecord (3.2.22) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.22) lib/active_record/explain.rb:34:in `logging_query_plan' activerecord (3.2.22) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.22) lib/active_record/relation/finder_methods.rb:159:in `all' /Users/tim/src/green_flag/app/models/green_flag/feature_decision.rb:60:in `whitelisted_users' /Users/tim/src/green_flag/app/controllers/green_flag/admin/white_list_users_controller.rb:5:in `index' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__567217175110051170__process_action__2629440079028853643__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.8ms) 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/_request_and_response.erb (0.7ms) 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/diagnostics.erb within rescues/layout (5.4ms) Started GET "/green_flag/admin/features/2/current_visitor_status" for 127.0.0.1 at 2015-07-26 15:47:17 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 40.9ms NameError (undefined local variable or method `current_site_visitor' for #): /Users/tim/src/green_flag/app/controllers/green_flag/admin/features_controller.rb:16:in `current_visitor_status' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:414:in `_run__2756067373237414146__process_action__3245532733737548060__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.9ms) 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/_request_and_response.erb (0.7ms) 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/diagnostics.erb within rescues/layout (9.4ms) Started GET "/green_flag/admin/features/2/feature_decision_summary" for 127.0.0.1 at 2015-07-26 15:47:17 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.7ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]]  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 't'  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 4.8ms (Views: 0.2ms | ActiveRecord: 1.5ms) Started GET "/green_flag/admin/features/2" for 127.0.0.1 at 2015-07-26 15:48:59 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"2"} Completed 500 Internal Server Error in 2.2ms NameError (undefined local variable or method `current_user' for #): /Users/tim/src/green_flag/app/controllers/green_flag/site_visitor_management.rb:12:in `set_site_visitor' activesupport (3.2.22) lib/active_support/callbacks.rb:418:in `_run__2756067373237414146__process_action__94884988788810023__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.7ms) 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/_request_and_response.erb (0.6ms) 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/diagnostics.erb within rescues/layout (6.7ms) Started GET "/green_flag/admin/features/2" for 127.0.0.1 at 2015-07-26 15:49:25 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.2ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.5ms) Completed 200 OK in 11.8ms (Views: 5.1ms | ActiveRecord: 1.0ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:49:25 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:49:25 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:49:25 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:49:25 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:49:25 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:49:25 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:49:25 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:49:25 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/2/rule_list" for 127.0.0.1 at 2015-07-26 15:49:26 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::Rule Load (0.6ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 2 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 51.8ms (Views: 0.1ms | ActiveRecord: 7.1ms) Started GET "/green_flag/admin/features/2/white_list_users" for 127.0.0.1 at 2015-07-26 15:49:26 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"2"} Completed 500 Internal Server Error in 15.1ms NameError (uninitialized constant GreenFlag::SiteVisitor::User): activerecord (3.2.22) lib/active_record/inheritance.rb:111:in `compute_type' activerecord (3.2.22) lib/active_record/reflection.rb:172:in `klass' activerecord (3.2.22) lib/active_record/associations/join_dependency/join_association.rb:40:in `initialize' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `new' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `build_join_association' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:115:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:128:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:123:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:18:in `initialize' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `new' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `build_joins' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:266:in `build_arel' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:260:in `arel' activerecord (3.2.22) lib/active_record/relation.rb:171:in `exec_queries' activerecord (3.2.22) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.22) lib/active_record/explain.rb:34:in `logging_query_plan' activerecord (3.2.22) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.22) lib/active_record/relation/finder_methods.rb:159:in `all' /Users/tim/src/green_flag/app/models/green_flag/feature_decision.rb:60:in `whitelisted_users' /Users/tim/src/green_flag/app/controllers/green_flag/admin/white_list_users_controller.rb:5:in `index' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:425:in `_run__567217175110051170__process_action__2629440079028853643__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.9ms) 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/_request_and_response.erb (1.0ms) 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/diagnostics.erb within rescues/layout (6.3ms) Started GET "/green_flag/admin/features/2/feature_decision_summary" for 127.0.0.1 at 2015-07-26 15:49:26 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]]  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 't'  (0.3ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 4.3ms (Views: 0.2ms | ActiveRecord: 1.0ms) Started GET "/green_flag/admin/features/2/current_visitor_status" for 127.0.0.1 at 2015-07-26 15:49:26 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.2ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::SiteVisitor Load (3.3ms) SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = '2' LIMIT 1  (0.1ms) BEGIN SQL (4.8ms) INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sun, 26 Jul 2015 19:49:26 UTC +00:00], ["updated_at", Sun, 26 Jul 2015 19:49:26 UTC +00:00], ["user_id", nil], ["visitor_code", "2"]]  (0.4ms) COMMIT GreenFlag::FeatureDecision Load (0.4ms) 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" = 1 LIMIT 1 Completed 200 OK in 18.1ms (Views: 0.2ms | ActiveRecord: 10.1ms) Started GET "/green_flag/admin/features/2" for 127.0.0.1 at 2015-07-26 15:49:37 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.5ms) Completed 200 OK in 37.2ms (Views: 36.1ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:49:37 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:49:37 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:49:37 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:49:37 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:49:37 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:49:37 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:49:37 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:49:37 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/2/rule_list" for 127.0.0.1 at 2015-07-26 15:49:38 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::Rule Load (3.5ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 2 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 5.7ms (Views: 0.1ms | ActiveRecord: 3.8ms) Started GET "/green_flag/admin/features/2/current_visitor_status" for 127.0.0.1 at 2015-07-26 15:49:38 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] 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::FeatureDecision Load (0.3ms) 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" = 1 LIMIT 1 Completed 200 OK in 2.8ms (Views: 0.2ms | ActiveRecord: 1.0ms) Started GET "/green_flag/admin/features/2/white_list_users" for 127.0.0.1 at 2015-07-26 15:49:38 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"2"} Completed 500 Internal Server Error in 2.6ms NameError (uninitialized constant GreenFlag::SiteVisitor::User): activerecord (3.2.22) lib/active_record/inheritance.rb:111:in `compute_type' activerecord (3.2.22) lib/active_record/reflection.rb:172:in `klass' activerecord (3.2.22) lib/active_record/associations/join_dependency/join_association.rb:40:in `initialize' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `new' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `build_join_association' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:115:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:128:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:123:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:18:in `initialize' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `new' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `build_joins' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:266:in `build_arel' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:260:in `arel' activerecord (3.2.22) lib/active_record/relation.rb:171:in `exec_queries' activerecord (3.2.22) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.22) lib/active_record/explain.rb:34:in `logging_query_plan' activerecord (3.2.22) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.22) lib/active_record/relation/finder_methods.rb:159:in `all' /Users/tim/src/green_flag/app/models/green_flag/feature_decision.rb:60:in `whitelisted_users' /Users/tim/src/green_flag/app/controllers/green_flag/admin/white_list_users_controller.rb:5:in `index' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:425:in `_run__567217175110051170__process_action__2629440079028853643__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.8ms) 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/_request_and_response.erb (0.8ms) 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/diagnostics.erb within rescues/layout (5.4ms) Started GET "/green_flag/admin/features/2/feature_decision_summary" for 127.0.0.1 at 2015-07-26 15:49:38 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]]  (2.1ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 't'  (0.7ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 6.4ms (Views: 0.2ms | ActiveRecord: 3.2ms) Started GET "/green_flag/admin/features/2" for 127.0.0.1 at 2015-07-26 15:50:15 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.2ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.4ms) Completed 200 OK in 11.3ms (Views: 4.8ms | ActiveRecord: 1.1ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:50:15 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:50:15 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:50:15 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:50:15 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:50:15 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:50:15 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:50:15 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:50:15 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/2/rule_list" for 127.0.0.1 at 2015-07-26 15:50:15 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::Rule Load (0.4ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 2 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 12.0ms (Views: 0.1ms | ActiveRecord: 6.9ms) Started GET "/green_flag/admin/features/2/white_list_users" for 127.0.0.1 at 2015-07-26 15:50:15 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"2"} Completed 500 Internal Server Error in 18.4ms NoMethodError (undefined method `table_name' for User:Class): activerecord (3.2.22) lib/active_record/reflection.rb:187:in `table_name' activerecord (3.2.22) lib/active_record/associations/join_helper.rb:31:in `table_name_for' activerecord (3.2.22) lib/active_record/associations/join_helper.rb:16:in `block in construct_tables' activerecord (3.2.22) lib/active_record/associations/join_helper.rb:14:in `each' activerecord (3.2.22) lib/active_record/associations/join_helper.rb:14:in `construct_tables' activerecord (3.2.22) lib/active_record/associations/join_dependency/join_association.rb:47:in `initialize' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `new' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:152:in `build_join_association' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:115:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:128:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:126:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:123:in `block in build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `each' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:122:in `build' activerecord (3.2.22) lib/active_record/associations/join_dependency.rb:18:in `initialize' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `new' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:358:in `build_joins' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:266:in `build_arel' activerecord (3.2.22) lib/active_record/relation/query_methods.rb:260:in `arel' activerecord (3.2.22) lib/active_record/relation.rb:171:in `exec_queries' activerecord (3.2.22) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.22) lib/active_record/explain.rb:34:in `logging_query_plan' activerecord (3.2.22) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.22) lib/active_record/relation/finder_methods.rb:159:in `all' /Users/tim/src/green_flag/app/models/green_flag/feature_decision.rb:60:in `whitelisted_users' /Users/tim/src/green_flag/app/controllers/green_flag/admin/white_list_users_controller.rb:5:in `index' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:425:in `_run__567217175110051170__process_action__2629440079028853643__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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__120005070677665570__call__2127422343180646340__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/_trace.erb (1.0ms) 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/_request_and_response.erb (0.7ms) 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/diagnostics.erb within rescues/layout (8.6ms) Started GET "/green_flag/admin/features/2/feature_decision_summary" for 127.0.0.1 at 2015-07-26 15:50:15 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]]  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 't'  (0.6ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 4.8ms (Views: 0.2ms | ActiveRecord: 1.3ms) Started GET "/green_flag/admin/features/2/current_visitor_status" for 127.0.0.1 at 2015-07-26 15:50:15 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::SiteVisitor Load (0.3ms) SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = '2' LIMIT 1 GreenFlag::FeatureDecision Load (0.5ms) 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" = 1 LIMIT 1 Completed 200 OK in 7.5ms (Views: 0.2ms | ActiveRecord: 1.9ms) Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20150726195118)  (0.1ms) BEGIN  (10.4ms) CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20150726195118')  (0.6ms) COMMIT  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Started GET "/green_flag/admin/features/2" for 127.0.0.1 at 2015-07-26 15:52:50 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.2ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.5ms) Completed 200 OK in 11.3ms (Views: 4.9ms | ActiveRecord: 1.0ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:52:50 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:52:50 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:52:50 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:52:50 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:52:50 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:52:50 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:52:50 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:52:50 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/2/rule_list" for 127.0.0.1 at 2015-07-26 15:52:50 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.9ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::Rule Load (0.4ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 2 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 17.9ms (Views: 0.1ms | ActiveRecord: 8.5ms) Started GET "/green_flag/admin/features/2/white_list_users" for 127.0.0.1 at 2015-07-26 15:52:50 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"2"} GreenFlag::FeatureDecision Load (1.2ms) 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" = 2 AND "green_flag_feature_decisions"."enabled" = 't' AND "green_flag_feature_decisions"."manual" = 't' ORDER BY created_at Completed 200 OK in 24.5ms (Views: 0.1ms | ActiveRecord: 8.7ms) Started GET "/green_flag/admin/features/2/feature_decision_summary" for 127.0.0.1 at 2015-07-26 15:52:50 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]]  (0.5ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 't'  (0.3ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 4.6ms (Views: 0.2ms | ActiveRecord: 1.1ms) Started GET "/green_flag/admin/features/2/current_visitor_status" for 127.0.0.1 at 2015-07-26 15:52:50 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.2ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::SiteVisitor Load (0.3ms) SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = '2' LIMIT 1 GreenFlag::FeatureDecision Load (0.4ms) 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" = 1 LIMIT 1 Completed 200 OK in 6.4ms (Views: 0.2ms | ActiveRecord: 1.0ms) Started GET "/green_flag/admin/features/2" for 127.0.0.1 at 2015-07-26 15:53:50 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.4ms) Completed 200 OK in 5.7ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 15:53:50 -0400 Served asset /green_flag/application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 15:53:50 -0400 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 15:53:50 -0400 Served asset /green_flag/admin/features.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 15:53:50 -0400 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 15:53:50 -0400 Served asset /green_flag/admin/rules.css - 200 OK (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 15:53:50 -0400 Served asset /green_flag/admin/rules.js - 200 OK (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 15:53:50 -0400 Served asset /green_flag/admin/features.js - 200 OK (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 15:53:50 -0400 Served asset /green_flag/application.js - 200 OK (0ms) Started GET "/green_flag/admin/features/2/rule_list" for 127.0.0.1 at 2015-07-26 15:53:51 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (1.9ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::Rule Load (2.3ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 2 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 5.9ms (Views: 0.1ms | ActiveRecord: 4.2ms) Started GET "/green_flag/admin/features/2/white_list_users" for 127.0.0.1 at 2015-07-26 15:53:51 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"2"} GreenFlag::FeatureDecision Load (0.8ms) 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" = 2 AND "green_flag_feature_decisions"."enabled" = 't' AND "green_flag_feature_decisions"."manual" = 't' ORDER BY created_at Completed 200 OK in 1.9ms (Views: 0.1ms | ActiveRecord: 0.8ms) Started GET "/green_flag/admin/features/2/current_visitor_status" for 127.0.0.1 at 2015-07-26 15:53:51 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.2ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::SiteVisitor Load (0.3ms) SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = '2' LIMIT 1 GreenFlag::FeatureDecision Load (0.3ms) 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" = 1 LIMIT 1 Completed 200 OK in 2.4ms (Views: 0.1ms | ActiveRecord: 0.9ms) Started GET "/green_flag/admin/features/2/feature_decision_summary" for 127.0.0.1 at 2015-07-26 15:53:51 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.2ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]]  (0.3ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 't'  (0.3ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 3.0ms (Views: 0.2ms | ActiveRecord: 0.8ms) Started GET "/green_flag/admin/features/2" for 127.0.0.1 at 2015-07-26 16:08:02 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.2ms) Compiled green_flag/admin/features.css (8ms) (pid 48910) Compiled green_flag/application.css (0ms) (pid 48910) Completed 200 OK in 41.3ms (Views: 40.2ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:02 -0400 Served asset /green_flag/application.css - 304 Not Modified (2ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:02 -0400 Served asset /green_flag/admin/features.css - 200 OK (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:02 -0400 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:02 -0400 Served asset /green_flag/admin/rules.css - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:02 -0400 Served asset /green_flag/admin/rules.js - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:02 -0400 Served asset /green_flag/admin/features.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:02 -0400 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:02 -0400 Served asset /green_flag/application.js - 304 Not Modified (0ms) Started GET "/green_flag/admin/features/2/rule_list" for 127.0.0.1 at 2015-07-26 16:08:02 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (1.6ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::Rule Load (1.8ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 2 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 6.5ms (Views: 0.1ms | ActiveRecord: 3.4ms) Started GET "/green_flag/admin/features/2/white_list_users" for 127.0.0.1 at 2015-07-26 16:08:02 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"2"} GreenFlag::FeatureDecision Load (0.8ms) 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" = 2 AND "green_flag_feature_decisions"."enabled" = 't' AND "green_flag_feature_decisions"."manual" = 't' ORDER BY created_at Completed 200 OK in 2.1ms (Views: 0.1ms | ActiveRecord: 0.8ms) Started GET "/green_flag/admin/features/2/current_visitor_status" for 127.0.0.1 at 2015-07-26 16:08:02 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.2ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::SiteVisitor Load (0.3ms) SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = '2' LIMIT 1 GreenFlag::FeatureDecision Load (0.4ms) 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" = 1 LIMIT 1 Completed 200 OK in 2.4ms (Views: 0.1ms | ActiveRecord: 0.9ms) Started GET "/green_flag/admin/features/2/feature_decision_summary" for 127.0.0.1 at 2015-07-26 16:08:02 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.2ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]]  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 't'  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 3.1ms (Views: 0.2ms | ActiveRecord: 0.9ms) Started GET "/green_flag/admin/features/2" for 127.0.0.1 at 2015-07-26 16:08:11 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.1ms) Compiled green_flag/admin/features.css (5ms) (pid 48910) Compiled green_flag/application.css (0ms) (pid 48910) Completed 200 OK in 57.0ms (Views: 55.8ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:11 -0400 Served asset /green_flag/application.css - 304 Not Modified (6ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:11 -0400 Served asset /green_flag/admin/features.css - 200 OK (2ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:11 -0400 Served asset /green_flag/admin/rules.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:11 -0400 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:11 -0400 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:11 -0400 Served asset /green_flag/admin/features.js - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:11 -0400 Served asset /green_flag/admin/rules.js - 304 Not Modified (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:11 -0400 Served asset /green_flag/application.js - 304 Not Modified (0ms) Started GET "/green_flag/admin/features/2/rule_list" for 127.0.0.1 at 2015-07-26 16:08:12 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::Rule Load (3.4ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 2 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 5.8ms (Views: 0.1ms | ActiveRecord: 3.8ms) Started GET "/green_flag/admin/features/2/white_list_users" for 127.0.0.1 at 2015-07-26 16:08:12 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"2"} GreenFlag::FeatureDecision Load (0.8ms) 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" = 2 AND "green_flag_feature_decisions"."enabled" = 't' AND "green_flag_feature_decisions"."manual" = 't' ORDER BY created_at Completed 200 OK in 1.8ms (Views: 0.1ms | ActiveRecord: 0.8ms) Started GET "/green_flag/admin/features/2/current_visitor_status" for 127.0.0.1 at 2015-07-26 16:08:12 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.2ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::SiteVisitor Load (0.3ms) SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = '2' LIMIT 1 GreenFlag::FeatureDecision Load (0.3ms) 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" = 1 LIMIT 1 Completed 200 OK in 2.4ms (Views: 0.1ms | ActiveRecord: 0.9ms) Started GET "/green_flag/admin/features/2/feature_decision_summary" for 127.0.0.1 at 2015-07-26 16:08:12 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]]  (0.6ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 't'  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 4.9ms (Views: 0.2ms | ActiveRecord: 1.4ms) Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-07-26 16:08:13 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.4ms) 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 (0.7ms) Completed 200 OK in 5.9ms (Views: 4.3ms | ActiveRecord: 0.4ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:13 -0400 Served asset /green_flag/application.css - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:13 -0400 Served asset /green_flag/admin/features.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:13 -0400 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:13 -0400 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:13 -0400 Served asset /green_flag/admin/features.js - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:13 -0400 Served asset /green_flag/admin/rules.js - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:13 -0400 Served asset /green_flag/admin/rules.css - 304 Not Modified (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:13 -0400 Served asset /green_flag/application.js - 304 Not Modified (0ms) Started GET "/green_flag/admin/features/1" for 127.0.0.1 at 2015-07-26 16:08:16 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (1.0ms) Completed 200 OK in 5.0ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:16 -0400 Served asset /green_flag/application.css - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:16 -0400 Served asset /green_flag/admin/rules.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:16 -0400 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:16 -0400 Served asset /green_flag/admin/features.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:16 -0400 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:16 -0400 Served asset /green_flag/admin/features.js - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:16 -0400 Served asset /green_flag/admin/rules.js - 304 Not Modified (0ms) Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-07-26 16:08:16 -0400 Served asset /green_flag/application.js - 304 Not Modified (0ms) Started GET "/green_flag/admin/features/1/rule_list" for 127.0.0.1 at 2015-07-26 16:08:16 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] GreenFlag::Rule Load (1.8ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 1 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 3.9ms (Views: 0.1ms | ActiveRecord: 2.2ms) Started GET "/green_flag/admin/features/1/white_list_users" for 127.0.0.1 at 2015-07-26 16:08:16 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"1"} GreenFlag::FeatureDecision Load (0.8ms) 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" = 1 AND "green_flag_feature_decisions"."enabled" = 't' AND "green_flag_feature_decisions"."manual" = 't' ORDER BY created_at Completed 200 OK in 1.9ms (Views: 0.1ms | ActiveRecord: 0.8ms) Started GET "/green_flag/admin/features/1/feature_decision_summary" for 127.0.0.1 at 2015-07-26 16:08:16 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]]  (0.5ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 't'  (0.5ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 4.3ms (Views: 0.2ms | ActiveRecord: 1.2ms) Started GET "/green_flag/admin/features/1/current_visitor_status" for 127.0.0.1 at 2015-07-26 16:08:16 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] 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::FeatureDecision Load (0.3ms) 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 Completed 200 OK in 2.6ms (Views: 0.1ms | ActiveRecord: 1.0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:40 -0400 Served asset /green_flag/admin/rules.css - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:40 -0400 Served asset /green_flag/admin/features.css - 304 Not Modified (0ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 16:08:40 -0400 Served asset /green_flag/application.css - 304 Not Modified (0ms) Started POST "/green_flag/admin/features/1/white_list_users" for 127.0.0.1 at 2015-07-26 16:39:41 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#create as JSON Parameters: {"email"=>"fee", "feature_id"=>"1", "white_list_user"=>{"email"=>"fee"}} WARNING: Can't verify CSRF token authenticity GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] User Load (2.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'fee' LIMIT 1 PG::UndefinedColumn: ERROR: column users.email does not exist LINE 1: SELECT "users".* FROM "users" WHERE "users"."email" = 'fee... ^ : SELECT "users".* FROM "users" WHERE "users"."email" = 'fee' LIMIT 1 Completed 500 Internal Server Error in 3.9ms ActiveRecord::StatementInvalid (PG::UndefinedColumn: ERROR: column users.email does not exist LINE 1: SELECT "users".* FROM "users" WHERE "users"."email" = 'fee... ^ : SELECT "users".* FROM "users" WHERE "users"."email" = 'fee' LIMIT 1): activerecord (3.2.22) lib/active_record/connection_adapters/postgresql_adapter.rb:1163:in `async_exec' activerecord (3.2.22) lib/active_record/connection_adapters/postgresql_adapter.rb:1163:in `exec_no_cache' activerecord (3.2.22) lib/active_record/connection_adapters/postgresql_adapter.rb:660:in `block in exec_query' activerecord (3.2.22) lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activerecord (3.2.22) lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' activerecord (3.2.22) lib/active_record/connection_adapters/postgresql_adapter.rb:659:in `exec_query' activerecord (3.2.22) lib/active_record/connection_adapters/postgresql_adapter.rb:1262:in `select' activerecord (3.2.22) lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all' activerecord (3.2.22) lib/active_record/connection_adapters/abstract/query_cache.rb:61:in `block in select_all' activerecord (3.2.22) lib/active_record/connection_adapters/abstract/query_cache.rb:75:in `cache_sql' activerecord (3.2.22) lib/active_record/connection_adapters/abstract/query_cache.rb:61:in `select_all' activerecord (3.2.22) lib/active_record/querying.rb:38:in `block in find_by_sql' activerecord (3.2.22) lib/active_record/explain.rb:41:in `logging_query_plan' activerecord (3.2.22) lib/active_record/querying.rb:37:in `find_by_sql' activerecord (3.2.22) lib/active_record/relation.rb:171:in `exec_queries' activerecord (3.2.22) lib/active_record/relation.rb:160:in `block in to_a' activerecord (3.2.22) lib/active_record/explain.rb:34:in `logging_query_plan' activerecord (3.2.22) lib/active_record/relation.rb:159:in `to_a' activerecord (3.2.22) lib/active_record/relation/finder_methods.rb:381:in `find_first' activerecord (3.2.22) lib/active_record/relation/finder_methods.rb:122:in `first' /Users/tim/src/green_flag/app/controllers/green_flag/admin/white_list_users_controller.rb:18:in `create' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:425:in `_run__567217175110051170__process_action__4315209707774205373__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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:35: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__120005070677665570__call__2127422343180646340__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/_trace.erb (0.9ms) 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/_request_and_response.erb (0.6ms) 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/diagnostics.erb within rescues/layout (6.2ms) Started PUT "/green_flag/admin/features/1/feature_decision_summary" for 127.0.0.1 at 2015-07-26 16:39:47 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#update as JSON Parameters: {"feature"=>{"code"=>"foo", "created_at"=>"2015-07-26T18:46:12Z", "description"=>nil, "id"=>1, "updated_at"=>"2015-07-26T18:46:12Z", "version_number"=>1}, "enabled"=>0, "disabled"=>0, "forget_disabled"=>true, "feature_id"=>"1", "feature_decision_summary"=>{"feature"=>{"code"=>"foo", "created_at"=>"2015-07-26T18:46:12Z", "description"=>nil, "id"=>1, "updated_at"=>"2015-07-26T18:46:12Z", "version_number"=>1}, "enabled"=>0, "disabled"=>0, "forget_disabled"=>true}} WARNING: Can't verify CSRF token authenticity GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]]  (0.6ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 'f' AND (manual is not true)  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 't'  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 6.8ms (Views: 0.2ms | ActiveRecord: 1.6ms) Started PUT "/green_flag/admin/features/1/rule_list" for 127.0.0.1 at 2015-07-26 16:39:52 -0400 Processing by GreenFlag::Admin::RuleListsController#update as JSON Parameters: {"_json"=>[{"group_key"=>"Pre-existing Visitors", "group_description"=>"Visitors that were created before this feature was deployed. They might have seen the old version.", "percentage"=>0, "order_by"=>0}], "feature_id"=>"1", "rule_list"=>{"_json"=>[{"group_key"=>"Pre-existing Visitors", "group_description"=>"Visitors that were created before this feature was deployed. They might have seen the old version.", "percentage"=>0, "order_by"=>0}]}} WARNING: Can't verify CSRF token authenticity GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", 1]] GreenFlag::Rule Load (0.6ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 1 ORDER BY version_number DESC LIMIT 1  (0.1ms) BEGIN  (0.4ms) UPDATE "green_flag_features" SET "version_number" = 2, "updated_at" = '2015-07-26 20:39:52.486283' WHERE "green_flag_features"."id" = 1  (68.5ms) COMMIT  (0.1ms) BEGIN SQL (5.2ms) 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", Sun, 26 Jul 2015 20:39:52 UTC +00:00], ["feature_id", 1], ["group_key", "Pre-existing Visitors"], ["order_by", 0], ["percentage", 0], ["updated_at", Sun, 26 Jul 2015 20:39:52 UTC +00:00], ["version_number", 2]]  (0.3ms) COMMIT Completed 200 OK in 88.3ms (Views: 0.1ms | ActiveRecord: 75.5ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 16:39:56 -0400 Served asset /green_flag/application.css - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 16:39:56 -0400 Served asset /green_flag/admin/rules.css - 304 Not Modified (0ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 16:39:56 -0400 Served asset /green_flag/admin/features.css - 304 Not Modified (0ms) Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20150726195118) Migrating to AddEmailToUsers (20150726204409)  (0.1ms) BEGIN  (2.3ms) ALTER TABLE "users" ADD COLUMN "email" character varying(255)  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20150726204409')  (0.5ms) COMMIT  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Started GET "/green_flag/admin/features/1" for 127.0.0.1 at 2015-07-26 16:44:43 -0400 Connecting to database specified by database.yml Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"1"} GreenFlag::Feature Load (1.2ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (12.0ms) Completed 200 OK in 72.2ms (Views: 37.1ms | ActiveRecord: 3.8ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-07-26 16:44:43 -0400 Served asset /green_flag/admin/features.css - 200 OK (3ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-07-26 16:44:43 -0400 Served asset /green_flag/application.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-07-26 16:44:43 -0400 Served asset /jquery.js - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-07-26 16:44:43 -0400 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-07-26 16:44:43 -0400 Served asset /green_flag/admin/rules.css - 200 OK (1ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-07-26 16:44:43 -0400 Served asset /green_flag/admin/features.js - 200 OK (1ms) Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-07-26 16:44:43 -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-07-26 16:44:43 -0400 Served asset /green_flag/application.js - 200 OK (3ms) Started GET "/green_flag/admin/features/1/rule_list" for 127.0.0.1 at 2015-07-26 16:44:44 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.6ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] GreenFlag::Rule Load (0.9ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 1 AND (version_number = 2) ORDER BY order_by Completed 200 OK in 34.7ms (Views: 0.1ms | ActiveRecord: 4.5ms) Started GET "/green_flag/admin/features/1/current_visitor_status" for 127.0.0.1 at 2015-07-26 16:44:44 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"1"} GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] GreenFlag::SiteVisitor Load (1.8ms) SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = '2' LIMIT 1 GreenFlag::FeatureDecision Load (0.5ms) 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 Completed 200 OK in 21.5ms (Views: 0.2ms | ActiveRecord: 7.2ms) Started GET "/green_flag/admin/features/1/white_list_users" for 127.0.0.1 at 2015-07-26 16:44:44 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"1"} GreenFlag::FeatureDecision Load (1.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" = 1 AND "green_flag_feature_decisions"."enabled" = 't' AND "green_flag_feature_decisions"."manual" = 't' ORDER BY created_at Completed 200 OK in 45.0ms (Views: 0.1ms | ActiveRecord: 3.7ms) Started GET "/green_flag/admin/features/1/feature_decision_summary" for 127.0.0.1 at 2015-07-26 16:44:44 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"1"} GreenFlag::Feature Load (0.3ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]]  (0.5ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 't'  (0.4ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 1 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 5.0ms (Views: 0.2ms | ActiveRecord: 1.3ms) Started POST "/green_flag/admin/features/1/white_list_users" for 127.0.0.1 at 2015-07-26 16:44:48 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#create as JSON Parameters: {"email"=>"asdf", "feature_id"=>"1", "white_list_user"=>{"email"=>"asdf"}} WARNING: Can't verify CSRF token authenticity GreenFlag::Feature Load (0.5ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "1"]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'asdf' LIMIT 1 GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'foo' LIMIT 1 Completed 500 Internal Server Error in 4.1ms RuntimeError (Called id for nil, which would mistakenly be 8 -- if you really wanted the id of nil, use object_id): /Users/tim/src/green_flag/app/models/green_flag/site_visitor.rb:14:in `for_user!' /Users/tim/src/green_flag/app/models/green_flag/feature_decision.rb:45:in `ensure_feature_enabled' /Users/tim/src/green_flag/app/models/green_flag/feature_decision.rb:40:in `whitelist_user!' /Users/tim/src/green_flag/app/controllers/green_flag/admin/white_list_users_controller.rb:19:in `create' actionpack (3.2.22) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.22) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.22) lib/active_support/callbacks.rb:425:in `_run__4257830314836219088__process_action__3538941318234818752__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_process_action_callbacks' activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.22) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.22) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.22) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.22) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.22) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.22) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.22) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.22) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.22) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.22) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.22) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.22) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:36: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' railties (3.2.22) lib/rails/engine.rb:484:in `call' railties (3.2.22) lib/rails/railtie/configurable.rb:30:in `method_missing' 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:35: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__1360275096275346254__call__3307487256493317211__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/_trace.erb (0.8ms) 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/_request_and_response.erb (0.7ms) 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/diagnostics.erb within rescues/layout (5.3ms) Connecting to database specified by database.yml  (2.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (272.2ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (344.6ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (13.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")  (3.4ms) 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.6ms) 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.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.1ms) 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")  (0.9ms) 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)  (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.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726195118')  (0.2ms) 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.4ms) 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.4ms) 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.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (117.2ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (237.4ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (7.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.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.4ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")  (1.4ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")  (4.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.4ms) 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.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.1ms) 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))   (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.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.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 "/green_flag/admin/features" for 127.0.0.1 at 2015-08-03 15:12:43 -0400 Connecting to database specified by database.yml Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (1.9ms) 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 (2.3ms) Completed 200 OK in 54.2ms (Views: 33.4ms | ActiveRecord: 7.7ms) Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-08-03 15:12:43 -0400 Served asset /green_flag/application.css - 200 OK (9ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-08-03 15:12:43 -0400 Served asset /jquery.js - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-08-03 15:12:43 -0400 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-08-03 15:12:43 -0400 Served asset /green_flag/admin/features.js - 200 OK (2ms) Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-08-03 15:12:43 -0400 Served asset /green_flag/admin/features.css - 200 OK (1ms) Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-08-03 15:12:43 -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-08-03 15:12:43 -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-08-03 15:12:43 -0400 Served asset /green_flag/application.js - 200 OK (28ms) Started GET "/green_flag/admin/features/2" for 127.0.0.1 at 2015-08-03 15:12:45 -0400 Processing by GreenFlag::Admin::FeaturesController#show as HTML Parameters: {"id"=>"2"} GreenFlag::Feature Load (2.7ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (5.0ms) Completed 200 OK in 14.4ms (Views: 9.2ms | ActiveRecord: 2.8ms) Started GET "/green_flag/admin/features/2/rule_list" for 127.0.0.1 at 2015-08-03 15:12:46 -0400 Processing by GreenFlag::Admin::RuleListsController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::Rule Load (4.3ms) SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 2 AND (version_number = 1) ORDER BY order_by Completed 200 OK in 26.4ms (Views: 0.1ms | ActiveRecord: 7.4ms) Started GET "/green_flag/admin/features/2/feature_decision_summary" for 127.0.0.1 at 2015-08-03 15:12:46 -0400 Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON Parameters: {"feature_id"=>"2"} GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]]  (1.5ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 't'  (0.3ms) SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 2 AND "green_flag_feature_decisions"."enabled" = 'f' Completed 200 OK in 15.4ms (Views: 0.2ms | ActiveRecord: 4.8ms) Started GET "/green_flag/admin/features/2/white_list_users" for 127.0.0.1 at 2015-08-03 15:12:46 -0400 Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON Parameters: {"feature_id"=>"2"} GreenFlag::FeatureDecision Load (4.4ms) 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" = 2 AND "green_flag_feature_decisions"."enabled" = 't' AND "green_flag_feature_decisions"."manual" = 't' ORDER BY created_at Completed 200 OK in 19.2ms (Views: 0.1ms | ActiveRecord: 7.7ms) Started GET "/green_flag/admin/features/2/current_visitor_status" for 127.0.0.1 at 2015-08-03 15:12:46 -0400 Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON Parameters: {"id"=>"2"} GreenFlag::Feature Load (0.4ms) SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "2"]] GreenFlag::SiteVisitor Load (1.8ms) SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = 'ab5c4360-33b0-4606-a349-153a21b66141' LIMIT 1  (0.1ms) BEGIN SQL (2.1ms) INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Mon, 03 Aug 2015 19:12:46 UTC +00:00], ["updated_at", Mon, 03 Aug 2015 19:12:46 UTC +00:00], ["user_id", nil], ["visitor_code", "ab5c4360-33b0-4606-a349-153a21b66141"]]  (0.4ms) COMMIT GreenFlag::FeatureDecision Load (0.4ms) 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 Completed 200 OK in 13.0ms (Views: 0.2ms | ActiveRecord: 5.2ms) Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (118.8ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (264.9ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.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.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.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.5ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")  (2.9ms) 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.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.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.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.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.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') Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-08-03 15:35:49 -0400 Processing by GreenFlag::Admin::FeaturesController#index as HTML GreenFlag::Feature Load (0.3ms) 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 (0.7ms) Completed 200 OK in 10.9ms (Views: 4.6ms | ActiveRecord: 1.2ms) Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (119.2ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (245.1ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.2ms) 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.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.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.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.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.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.2ms) 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.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))   (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.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.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.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (117.7ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (232.5ms) 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")  (5.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.3ms) 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")  (3.9ms) 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.2ms) 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))   (1.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.2ms) 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.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')  (0.4ms) 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.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"   (258.9ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (245.5ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.5ms) 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.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.4ms) CREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")  (1.3ms) CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")  (6.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.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.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.2ms) 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.1ms) 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))   (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.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726204409')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726195118')  (0.3ms) 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') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (260.6ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (305.9ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.5ms) 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.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.3ms) 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")  (7.0ms) 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")  (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.2ms) 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.6ms) CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255))   (1.1ms) 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.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.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.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.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (119.2ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (240.3ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (6.2ms) 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.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.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.0ms) 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.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.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.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))   (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.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.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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218035805')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150218171852') Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (118.0ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (241.3ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.2ms) 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.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.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")  (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.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")  (4.1ms) 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.4ms) 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.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.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')  (0.4ms) 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.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"   (119.7ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (246.9ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (5.2ms) 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.0ms) 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.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)   (4.4ms) CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")  (4.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.2ms) 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.2ms) 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))   (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (2.4ms) 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.5ms) 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.4ms) 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') Started GET "/" for 127.0.0.1 at 2015-08-03 17:54:12 -0400 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 (0.5ms) Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (270.8ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (248.6ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (6.6ms) 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.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")  (0.9ms) 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.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.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.2ms) 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))   (1.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150726204409')  (0.4ms) 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.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.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  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (275.5ms) DROP DATABASE IF EXISTS "green_flag_dummy_test"  (266.0ms) CREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'  (7.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.4ms) 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.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")  (4.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.9ms) 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.4ms) CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number")  (3.3ms) 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")  (3.0ms) 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.2ms) 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.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514202337')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516214909')  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211214159')  (0.2ms) 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')